home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / jnos / psi110f / readme.now < prev    next >
Text File  |  1994-07-04  |  158KB  |  3,881 lines

  1. Johan Reinalda, WG7J, stopped development of the MS-DOS version
  2. of JNOS in May 1994 with the 1.10c release.  I've undertaken the
  3. maintenance of this version while Johan takes a well-deserved
  4. rest and then pursues a WIN32 version.  Accordingly, here is JNOS
  5. 1.10f. Please send comments and bug reports that pertain to the
  6. MS-DOS version to me, James Dugal, N5KNX at this address:
  7.  
  8. Email:    jpd@usl.edu  or  n5knx@k5arh.#lft.la.usa.noam
  9. Post:   James Dugal, N5KNX
  10.     P.O. Box 44844
  11.     Lafayette, LA  70504
  12.     U.S.A.
  13. -------------------
  14.  
  15.  
  16. OBJECTIVE:
  17.  
  18. The objective of this code is the improve the use and features of NOS.
  19. A lot of the work is done through cooperative discussion and testing
  20. among the subscribers of the Internet maillist 'nos-bbs@hydra.carleton.ca'
  21. (to subscribe, send mail to 'nos-bbs-request@hydra.carleton.ca')
  22. A lot of new stuff comes from code fragments or suggestions contributed by
  23. people on that maillist, most of wich are avid users of the code.
  24. This code is a continuously developing piece of work, and as such, it should
  25. be seen as a BETA software, no matter whether it is indicated as such or not.
  26. You should not expect this to be a 'plug and play' solution to tcp/ip over
  27. packet radio. If you experience problems, feel free to contribute
  28. 'constructive' critisism to the author or the discussion group.
  29.  
  30.  
  31.  
  32. VERSION NAMING CONVENTIONS:
  33.  
  34. JNOS cycles through three identifyable stages as source code is being
  35. put out. Code goes from testing stage (aka. beta code), to somewhat
  36. stable released code, to maintenance/bugfix updates. Note that the
  37. OBJECTIVE above still applies to ALL code being released,
  38. whether it is identified as beta, release or bugfix...!
  39.  
  40. As of v1.10, there is a 'new' version naming scheme.
  41.  
  42. 1) eXperimental code put out by me will be a version number with 'x#' added.
  43.    'x' stands for eXperimenting, and # is the number of test release.
  44.    This will be the first step toward a new 'release'
  45.  
  46.    Eg:  JNOS 1.10x1 is the first test release for version 1.10 .
  47.  
  48.  
  49. 2) When an 'x' version seems stable, I might decide to put it out as a
  50.    'released' version. This is the time the 'general public' jumps on it :-)
  51.    This version will drop the 'x#' designation.
  52.    At this time I will have at least one executable available, and the full
  53.    source set. The source set will be versionname.ZIP,
  54.    and the executable versionname.EXE . The executable might be a self
  55.    extracting exe with some miniscule docs etc...
  56.  
  57.    Eg: JNOS 1.10 is the 'official release' version of 1.10
  58.        JNOS110.ZIP is the source set, and
  59.        JNOS110.EXE is the executable.
  60.  
  61. 3) As bugs are found after step 2, bugfix/maintenance updates will be numbered
  62.    with the version name plus a single letters added. (Using x for experimental
  63.    should be okay, as long as we don't get many bugfixes... :-) )
  64.  
  65.    Eg. JNOS 1.10a is the first bugfix after the release of version 1.10
  66.  
  67.  
  68. I strongly advise everyone that makes mods to use the same base version number,
  69. INCLUDING experimentation or bugfix suffixes, with a personal extension.
  70. This allows others to see what your base code was.
  71. Eg. JNOS 1.10x3-Mods
  72.  
  73. If you send bugfixes and mods to the nos-bbs list or me, they will most
  74. often get put into the next release...
  75.  
  76.  
  77.  
  78.  
  79. COMPILER:
  80.  
  81. Starting with 1.08, I use Borland C++ 3.1 for all executables i distribute.
  82. In the makefile, you have the option of compiling with TC2.0, BC++2.0,
  83. BC++3.1, or BC++ 4.0 . You can also choose the cpu to compile for (see note!)
  84.  
  85. *** NOTES *** :
  86. I DO NOT GUARANTEE the code will compile without glitches with other compilers,
  87. although an effort has been made to keep things compatible with TC2.0 and BC2.
  88. Also, I only compile for 8086 ! Any other cpu is NOT tested !
  89. (Although I have compiled 1.10 for the 80386, and a cursory test seems okay)
  90.  
  91. If you choose the TC2.0 compiler, be aware that there is one function
  92. that doesn't exist in the TC2.0 library. This is the mktime() call.
  93. There is a substitute in expire.c.  You also have to tone down the config.h
  94. file, since you are likely to run out of DGROUP space. TC2.0 doesn't allow
  95. for other segments to be used (the -Ff=x option in BC++2.0 and above).
  96.  
  97. If you use an older version of Borland's TASM.EXE assembler, it might choke
  98. on line 2 in asmgloba.h : '.MODEL USE16 LARGE,C'. Simply remove the 'USE16'
  99. to solve this problem.
  100.  
  101. Please also refer to the FAQ, mentioned above, for more info on compiling
  102. the code.
  103.  
  104.  
  105. CONFIG.H:
  106.  
  107. There are several different configurations in the source archive.
  108. I also DO NOT GUARANTEE that other variations of config.h work. It is
  109. impossible to test all different configurations possible with the many
  110. options in config.h. Thus there might be certain combinations that result
  111. in either compiler or linker errors...Find someone with good C and NOS
  112. programming knowledge :-) ...
  113.  
  114. Also, I only compile for 8086 ! Any other cpu is NOT tested !
  115.  
  116. distconf.h - used to create the distribution executable (8086 code)
  117. bbsconf.h  - as I run it on my bbs system. (WG7J.OR.USA.NA)
  118. gwconfig.h - as I run it on my Internet gateway system (wg7j.ece.orst.edu)
  119. users.h    - end-user, with serial port and scc drivers, but no bbs options
  120.  
  121.  
  122.  
  123. MAIL INDEX FILES:
  124.  
  125. ==> As of 1.10x15, JNOS now senses index file status at startup and after
  126.     returning from shells. Index files for changed mailbox files will be
  127.     automatically updated at this time.!
  128.     This means you can now use ANY EXERNAL MAILER !!!
  129.  
  130. As of version 1.10x3, JNOS stores an index file for each mail *.TXT file.
  131. This drastically speeds up switching of areas, and listing of mail headers.
  132.  
  133. As of version 1.10x10, the format of the index files have changed. They are
  134. now variable length binary records. See index.h for the content of the record.
  135. (The indexfiles are now named *.IND)
  136.  
  137. As a side effect, there is no limit anymore to the number of messages held
  138. in a mailbox. This now is only limited by system memory :-)
  139.  
  140. Manual manipulation of index files is NOT advised !!!
  141.  
  142.  
  143.  
  144. DOCUMENTATION:
  145.  
  146. All PA0GRI specific commands can be found is his nos_1229.man .
  147.  
  148. The latest docs files, for JNOS 1.10, are docs110.zip, thanks to an
  149. effort by Doug Thompson, WG0B, and Johan Reinalda, WG7J.
  150.  
  151.  
  152. SOURCES:
  153.  
  154. If you obtained sources, feel free to do with them as you please,
  155. as long as you keep and obide the copyrights in the different source modules!
  156. If you add substantial stuff to the code, please modify the version string
  157. in version.c to reflect this. (So i won't have to answer tons of questions
  158. about stuff i didn't write)
  159.  
  160. Latest sources can be obtained on Internet by anonymous ftp from among others:
  161.  
  162. pc.usl.edu in pub/ham/jnos
  163. ftp.ece.orst.edu in pub/ham/wg7j
  164. ftp.cs.tamu.edu in /pub/hamradio/NOS/wg7j
  165. vangel.npt.nuwc.navy.mil
  166.  
  167. They can also be found on several phone bbs systems, often shortly after
  168. the release date.  Here are some to try (all in the U.S.A.):
  169.  
  170.         N8EMR's Ham BBS (614) 895-2553
  171.         ChowdaNet       (401) 331-0334
  172.  
  173. NOTE: Due to large workload, I no longer will send you sources!!!
  174.  
  175. If you add/modify anything that might be useful to others, I would
  176. appreciate the mods, to possibly add to the code.
  177.  
  178.  
  179. THE LAST WORD:
  180.  
  181. "Definitive is the source, not this note :-)"
  182.  
  183.  
  184.  
  185. HINT HINT HINT HINT :
  186.  
  187. if you are experiencing problems receiving with certain tnc's with this
  188. code, set the dtr and rts parameters correctly
  189. 'param <iface> dtr 1' and 'param <iface> rts 1'
  190. (this is due to a rewrite of the original 8250 drivers
  191.  in KA9Q 911218 and later)
  192.  
  193.  
  194. FTPUSERS PERMISSIONS:
  195.  
  196. Name:        value     (hex)
  197. FTP_READ        1       0x1             /* Read files */
  198. FTP_CREATE      2       0x2             /* Create new files */
  199. FTP_WRITE       4       0x4             /* Overwrite or delete existing files */
  200. AX25_CMD        8       0x8             /* AX.25 gateway operation allowed */
  201. TELNET_CMD      16      0x10            /* Telnet gateway operation allowed */
  202. NETROM_CMD      32      0x20            /* NET/ROM gateway operation allowed */
  203. SYSOP_CMD       64      0x40            /* Remote sysop access allowed */
  204. EXCLUDED_CMD    128     0x80            /* This user is banned from the BBS */
  205. /* 256 and 512 are used in PPP*/
  206. NO_SENDCMD      1024    0x400           /* Disallow send command */
  207. NO_READCMD      2048    0x800           /* Disallow read command */
  208. NO_3PARTY       4096    0x1000          /* Disallow third-party mail */
  209. IS_BBS          8192    0x2000          /* This user is a bbs */
  210. IS_EXPERT       16384   0x4000          /* This user is an expert */
  211. NO_CONVERS      32768   0x8000          /* Disallow convers command */
  212. NO_ESCAPE       65536   0x10000         /* Default is no escape char */
  213. NO_LISTS        131072  0x20000         /* No lists displayed from mailbox */
  214. NO_LINKEDTO     262144  0x40000         /* disable '*** linked to' */
  215.  
  216. To set options, simply add values. Format in /ftpusers file is:
  217. name password /rootdir #perm
  218.  
  219. password can be a *, then any password is allowed.
  220. if name is "univperm", then any name not found otherwise in the ftpusers file
  221. will be treated as if it was "univperm". If password is set, this password
  222. needs to be used. Eg:
  223. univperm * /public 132103
  224.  
  225. gives anyone not otherwize know login permission, but no ax.25, netrom, lists
  226. etc. and also ftp downloads are allowed...
  227.  
  228.  
  229.  
  230. ERRORS IN NOS:
  231.  
  232. Here is the long awaited list of error numbers used in nos!
  233. The numbers listed are directly from the sources (socket.h),
  234. and when appropriate, are followed by a little description I've
  235. shaken out of my pen :-)
  236.  
  237. #define EMFILE          1
  238. #define EBADF           2
  239. #define EINVAL          3
  240. #define ESOCKTNOSUPPORT 4       Socket type not supported
  241. #define EAFNOSUPPORT    5       Address family not supported
  242. #define EOPNOTSUPP      6       Option not supported
  243. #define EFAULT          7
  244. #define ENOTCONN        8       No connection established
  245. #define ECONNREFUSED    9       Already connected, or connection refused,
  246. #define EAFNOSUPP       10
  247. #define EISCONN         11
  248. #define EWOULDBLOCK     12      Socket would have blocked
  249. #define EINTR           13
  250. #define EADDRINUSE      14      Address already in use
  251. #define ENOMEM          15      Not enough system memory to do task
  252. #define EMSGSIZE        16
  253. #define EALARM          17
  254. #define EABORT          18      Action aborted
  255. #define ECONNNOROUTE    19      No tcp route to target address
  256.  
  257.  
  258.  
  259. FILES FOR JNOS:
  260.  
  261. Please check the file NOS.CFG in this distribution for the names and
  262. locations of the files used on JNOS.
  263.  
  264.  
  265.  
  266. COMMAND LINE OPTIONS:
  267.  
  268. JNOS can be started with a number of command line options. All but one start
  269. with a '-'. Options should be separated by tabs or spaces. The option and the
  270. option argument (if any) should be contiguous (ie NO spaces).
  271.  
  272. -b          : Use direct video for the screen output.
  273. -c#         : set the number of columns on the screen to #.
  274. -drootdir   : set the root dir for configuration file path. This is overwritten
  275.               by the files included in the -f config file.
  276. -e          : pause after each error line in autoexec.nos.
  277. -fnos.cfg   : set JNOS config file names as indicated in the file 'nos.cfg'.
  278.               This overrides the -d option.
  279. -i          : always re-index mail files at startup
  280. -l          : do not remove *.lck files in the mail subdirectory
  281.               (default is to remove *.lck in the /spool/mail directory!)
  282. -mn         : set the default screen swap mode.
  283.                 n = 0 : Use EMS (if compiled in and EMS is available).
  284.                         (Default is ems available)
  285.                 n = 2 : Use memory. (default if no ems available)
  286.                 n = 3 : Use a temporary disk file.
  287. -n          : no trace session.
  288. -r#         : set the number of rows on the screen to #.
  289. -t          : trace the autoexec.nos file. You will be asked before each
  290.               if you want to execute it. 'y' accepts, anything else
  291.               skips the line.
  292. -v          : verbose. Print line from autoexec.bat before parsing.
  293. -u#         : set the number of status lines, valid values are 0-3
  294. -wf+b       : set the foreground and background color for the system status
  295. -xf+b       : set the foreground and background color for the session status
  296. -yf+b       : set the foreground and background color for the 'main' window
  297. -zf+b       : set the foreground and background color for the 'split' window
  298. autoexec.new: Name of the startup file. If not given, \autoexec.nos (or as
  299.               indicated with the -fnos.cfg option) is used.
  300.  
  301.  
  302. DOS MEMORY:
  303. Here is an interesting message:
  304. ----
  305. Date: Sun, 13 Feb 94 18:58:52 UTC
  306. From: k5rw@k5rw.ampr.org
  307. Subject: VIDRAM alternative
  308. To: nos-bbs@hydra.carleton.ca
  309.  
  310. DOS users that want extra memory for NOS/JNOS can use the following 
  311. instead of VIDRAM from Quarterdeck.
  312.  
  313. In your config.sys file for color video adapters load EMM386.EXE this way
  314.  
  315. DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-B7FF NOHI
  316.  
  317. In your config.sys file for mono video adapters load EMM386.EXE this way
  318.  
  319. DEVICE=C:\DOS\EMM386.EXE NOEMS I=A000-AFFF NOHI
  320.  
  321. Configured this way, EMM386 converts a portions of the area nomally reserved 
  322. for the video buffer to usable RAM and links it wtih convetional memory.
  323. Executable programs sizes can approach 700K or larger.
  324.  
  325. Don't switch to a pgm that uses graphics mode.  This should probably only be 
  326. used for boxes dedicated to NOS/JNOS or other non-graphic applications
  327. _____
  328.  
  329.  
  330.  
  331. Additions/changes are:
  332.  
  333.  
  334.  
  335. 1.10f (940704)
  336.  
  337. -  index files are MUCH more robust.  You should force a rebuild of
  338.    your indexed areas when you first start 1.10f (issue 'index *').
  339.  
  340. -  tip dialup code fixed to recover from hangups, idle timeouts, and
  341.    shutdowns.  tip user names now shown by 'mb status'.
  342.  
  343. -  async driver replaced with pa0gri's version, which is faster and
  344.    handles rts/cts better.
  345.  
  346. -  nntpcli improved to maintain indices and timestamps (tnx VE3LUM), and creates
  347.    only subscribed newsgroups.  If you don't want indices created, set a
  348.    new spool dir, such as:  nntp dir /newsdir /spool/news
  349.  
  350. -  expire now can expire NNTP articles and history files, for both NNTP
  351.    client and server JNOS configurations (tnx VK5XXX).  Expire uses a different
  352.    procedure which seems to eliminate trashed indices, and will remove areas
  353.    that become empty after a succesful expire.
  354.  
  355.    To expire newsgroups, enter their names into /spool/expire.dat, PREFIXED
  356.    with '!'.  Example:  !rec.radio.swap 7
  357.  
  358.    To access newsgroups as areas (NNTP client only), put the newsgroup name
  359.    into /spool/areas.  Example:  rec.radio.swap    -  for sale/swap postings
  360.  
  361. -  forward.bbs optional destination field works again.
  362.  
  363. -  'pause #secs' command added.
  364.  
  365. -  pwait() calls added to index-scanning routines to more equitably
  366.    share cpu time.
  367.  
  368. -  G8FSL's smtp hopper code added.  If you define HOPPER in config.h
  369.    and recompile Jnos, then smtp will deliver to a gateway serving a
  370.    destination if one can be found in the routing tables.
  371.  
  372. -  TNOS/KF5MG's rlogin and QRZ callbook server code added.
  373.     To run the QRZ callbook server, first compile with QRZCALLB
  374.     defined in config.h, then issue these commands before starting
  375.     JNOS:        set qrzdrv=E:     (or whatever you use)
  376.             set qrzpath=\dir\path        (to dir containing
  377.                             callbkc.dat/.idx)
  378.  
  379.     Then in Jnos, issue:    callserver host k9dog    (your call)
  380.                 start callbook
  381.  
  382.    The rlogin server is really a responder for telnets to port 513, that
  383.    logs you into the mailbox, then invokes the sysop (@) command for you.
  384.  
  385. -  info cmd displays compiler version.
  386.  
  387. -  "early" disconnect from the mailbox is re-enabled, with code added to
  388.    prevent unwarranted side effects previously noted.
  389.  
  390.  
  391.  
  392. 1.10e (not released)
  393.  
  394. 1.10d (940527)
  395.  
  396. -  --more-- prompting should accept single character responses again, for
  397.     tip and telnet users.  Use space to advance to next page, CR for next
  398.     line, and q to quit.
  399.  
  400. -  MC/MM commands now accept a pathname as well as an area, for the sysop.
  401.  
  402. -  more tests to eliminate unproductive forwarding connects.  Additional
  403.     logging of mbox exits.
  404.  
  405. -  locking change to help assure the index files stay in sync.
  406.  
  407. -  MBOX now remembers your position and msg status (eg, delete) when
  408.     new msgs arrive.
  409.  
  410. -  G8FSL's multitask change applied.
  411.  
  412. -  morecore will accurately report memory status when it fails, and will
  413.     not log allocation failed messages as frequently.
  414.  
  415.  
  416.  
  417. 1.10c (940417)
  418.  
  419. -  param <iface> rcvmode <n>
  420.     will now set the receive mode for a packet driver <iface>,
  421.     where <n> is one of the following
  422.  
  423.     1     turn off receiver
  424.     2     receive only packets sent to this interface
  425.    *3     mode 2 plus broadcast packets  *DEFAULT*
  426.     4     mode 3 plus limited multicast packets
  427.     5     mode 3 plus all multicast packets
  428.     6     all packets
  429.  
  430.     This is primarily useful for tracing the ethernet (mode 6), or for
  431.     limiting the amount of packets jnos sees (mode 2, combined with the
  432.     appropriate hardcoded arp entries for a gateway, etc... so that
  433.     ip routing still works, since mode 2 basically disables the arp
  434.     mechanism.)
  435.  
  436. - turning off watchdog while shelled out without multitask on, fixes reboots
  437.   after 5 minutes
  438.  
  439. - 'convers channel' sets or shows the default channel for users
  440.  
  441. - 'rewrite <address>' will show the result of the mail rewrite process
  442.   (from an idea of Doug Crompton, wa3dsp)
  443.  
  444. - '-i' startup option forces all index files to be rewritten at startup
  445.  
  446. - one more forward.c usesock() fix.
  447.  
  448. - 'remote' command socket hanging around fixed.
  449.  
  450. - tipmail ^R echo fixed.
  451.  
  452. - clean up of a lot of compiler warnings.
  453.  
  454.  
  455.  
  456. 1.10b (940318)
  457.  
  458. - forward code caused screen output socket to be lost at time; fixed
  459.   (from n5knx)
  460.  
  461. - socket reference count fix in session.c
  462.  
  463. - a message sent to 'call' from the bbs, that gets rewritten to a different bbs
  464.   is now forwarded as 's call < from' instead of 's call @ call < from'
  465.  
  466. - keyboard process stack size increased to 512.
  467.  
  468. - bugfix in ax25 recover timer for retry counts exceeding the backoff limit.
  469.  
  470. - forward.c bid mangling bug fix (creeped into 1.10a trying to fix long msg-id's).
  471.  
  472. - bug fix in netrom socket code that crashed system when a netrom mailbox
  473.   connect came in.
  474.  
  475.  
  476. 1.10a (940309)
  477.  
  478. - alias commands show in the node prompts if turned on with
  479.   'mbox showalias on'
  480.   (They show before the ? in the short prompt, eg BBS,TEST,?,B,C,...
  481.    and on a separate line in the long prompt. )
  482.  
  483. - status window is disabled while shelling out with multitask enabled.
  484.  
  485. - status window netrom session timer fixed.
  486.  
  487. - ftp server and client now use the 'SYST' command to get remote system type.
  488.  
  489. - pathname.c code fixed for single character filenames. Eg. 'dir t' now works.
  490.  
  491. - bbs more prompt works with help, areas, and motd and register text info
  492.   files.
  493.  
  494. - ax25 recovery timer fixed (from n5knx).
  495.  
  496. - alt-f11 works as fkey (fix from n5knx).
  497.  
  498. - ftp mput fixed. (from kc2ct).
  499.  
  500. - forward bid protected against long bids. Error return code on
  501.   some file opens checked. From Jim Dugal, N5KNX.
  502.  
  503. - bug fix in echo server.
  504.  
  505. - finished SAM callbook support. Not in regular distribution executable.
  506.   Define SAMCALLB in config.h  Also fixed a bug for Club call license class.
  507.  
  508.  
  509.  
  510. 1.10 (940228)
  511.  
  512. - JNOS now has a status display. This shows on the first line:
  513.   time, heap and core free memory, number of connections to the
  514.   different servers. Then a list of active sessions, where sessions with
  515.   data waiting are blinking.
  516.  
  517.   The 2nd line shows the users connected to the bbs. A status symbol
  518.   in front means the following:
  519.  
  520.   none - user is idle
  521.      * - user is a bbs
  522.      @ - user is in sysop mode
  523.      ! - user has gatewayed out
  524.      # - user is reading or sending mail
  525.      = - user is transfering data (up/download)
  526.      ^ - user is in convers or sysop-chat mode
  527.      ? - use is in none of the above, but not idle...
  528.  
  529.   Eg: BBS: *w0rli johan #ka7ehk !n7ifj
  530.  
  531.   (lines 1 and 2 are the 'system' window)
  532.  
  533.   On the 3rd line, it shows data depending on the current session.
  534.   Always displayed are the current session number and type.
  535.   If the sessions are network connections, displayed are remote connection
  536.   name,  tx-queue (bytes for tcp, packets for ax.25), state of the connection.
  537.   It then shows the retry timer, with current time left, and initial value.
  538.  
  539.   In repeat, more or look sessions, the 3rd line show the command, filename
  540.   or user/socket for the session.
  541.   In the command session 3rd line shows the current directory.
  542.  
  543.   (the 3rd line is the 'session' window)
  544.  
  545.   
  546.   The number of status lines displayed can be set with the '-u#'
  547.   commands line option. '-u0' turns it off. Default is '-u3'
  548.  
  549.   NOTE: if tracing is enabled, this will 'bleed' through the status window.
  550.   This is NOT a bug, but is inherent to the way tracing works in JNOS.
  551.   (It would take a major rewrite to fix.) The status window will be
  552.   rebuild about twice a second to overcome this.
  553.  
  554. - new commands line option to set colors of the different windows
  555.     (Only if SPLITSCREEN is compiled in !)
  556.  
  557.     -wf+b : set the foreground and background color for the 'system' window
  558.             (The top 2 lines of the display, if not disabled with -u option)
  559.             default: white on magenta
  560.     -xf+b : set the foreground and background color for the 'session' window
  561.             (The line underneath the 'system' window, if not
  562.              turned off with the -u option)
  563.              default: white on blue
  564.     -yf+b : set the foreground and background color for the 'main' window
  565.             (The session output window)
  566.             default: the system colors when jnos is started.
  567.             (most often lightgray on black)
  568.     -zf+b : set the foreground and background color for the 'split' window
  569.             (The text input window in 'split screen' mode);
  570.             default: white on green
  571.  
  572.     The 'system','session' and 'split' window always have the 'high intensity'
  573.     bit set in the color attribute. This allows those windows to stand out
  574.     on monochrome systems.
  575.  
  576.     f and b colors are numbers, and + is the + character:
  577.     0=black 1=blue 2=green 3=cyan 4=red 5=magenta 6=brown 7=white/gray
  578.  
  579.     EG: for blue text on a red background for the 'main' window,
  580.         nos -y1+4
  581.     To have this, with black text on white background 'system' system window,
  582.         nos -y1+4 -w0+7
  583.  
  584. - new 'look' command. You can now peek into a user on the bbs, or any non
  585.   local socket. If looking at a bbs user, you can initiate a 'chat' with
  586.   the user...
  587.  
  588.   'look <user|socket#>' will bring up a window that follows the user
  589.   or socket.
  590.  
  591.   There are a few commands available:
  592.   /? or /h - will show a sort help line
  593.   /m <msg> - send a message to the user. User sees: '<sysop>: message text'
  594.              (only if looking at a bbs user)
  595.   /c       - initiate a 'chat' with a bbs user. The bbs will suspend, and
  596.              you can talk with the user.
  597.   /q or /b - if in 'chat' mode, finishes it, and dumps the user back in the bbs.
  598.              if in 'look' mode, finishes looking at the user/socket.
  599.  
  600.    Note: if not in 'chat' mode, all non-command strings will be ignored.
  601.  
  602.    Looking at non-bbs socket might be helpful debugging things, or seeing
  603.    what an ftp user or a smtp user is doing. Note that often you don't see
  604.    what you expect: eg. ftp user sockets don't show the data transfered,
  605.    including directory listing, because this occurs on a separate socket
  606.    (ie. not seeing it is NOT a bug, for once...8-) )
  607.  
  608. - no limit (other then memory) to the number of sockets in the system.
  609.   (command line option -s is not used anymore !)
  610.  
  611. - 'netrom interface' command changed a bit:
  612.   new format 'netrom interface <iface> <quality> [<min-bc-quality>]'
  613.   If min-bc-quality is not set, the 'netrom minquality' value is used.
  614.  
  615.   Only routes of the min-bc-quality and better will be broadcast in a
  616.   nodes broadcast in this interface. If min-qual = 0, no nodes are broadcast
  617.   (Ie. this is the non-verbose mode of versions < v1.10)
  618.   Eg:  netrom interface ax0 224 180  -> nodes >= 180 are broadcast
  619.        netrom interface ax0 224 0    -> only ourself is broadcast
  620.        netrom interface ax0 224      -> nodes >= 'minquality' are broadcast
  621.  
  622. - Polled Kiss support (included in 1.10x11) now works. It has been tested
  623.   with a KPC-3 with polled kiss eprom. The parameters needed in the tnc
  624.   are CHECKSUM ON,MYDROP <tnc id>,POLLED ON, INTERFACE BPQ, then a RESET
  625.  
  626. - protection against opening device files like CON,AUX, etc (as 'advertized'
  627.   in 1.08) now works. Ie. no more lockup when fingering 'con' etc...
  628.  
  629. - the trace session (F9) now doesn't take any extra sockets. Also, you can
  630.   now issue commands in the trace session...(I have No Idea what that is good
  631.   for :-) 8-) )
  632.  
  633. - new mailbox 'XR' command. Shows or sets 'reply-to' header status.
  634.   Default is off. 'XR' shows state, 'XR on|off' sets the state.
  635.   If turned on, and user has registered an email address, messages sent by
  636.   this user will include a 'Reply-To: email-address' line. The state is
  637.   'remembered' across logins/logouts.
  638.  
  639. - new mailbox 'PIng <host>' (from Doug Crompton, WA3DSP)
  640.   Check if a host is alive. Returns RTT.
  641.  
  642. - new PI driver from Dave Perry, VE3IFB
  643.  
  644. - bug fix in 'ax25 bbscall' if used after non-ax25 interfaces were attached.
  645.  
  646. - bug fixes for local tcp links, and also for the heapsize memory value,
  647.   for ftp login 'anonymous ok' message, and for filename creation effecting
  648.   the ftp server, and mailbox d,u,w&z commands.
  649.  
  650. - fixed long time bug in scc driver allowing an already existing interface
  651.   name to be used again.
  652.  
  653. - fix in smtp tick for low memory conditions. From Andrew Benham, G8FSL
  654.  
  655. - mailbox negiotiates a few telnet options. From Wayne Schellekens, VE4WTS.
  656.  
  657. - 'icmp timeexceed [<on|off>]. Default is on. If turned off, no ICMP
  658.   'time exceeded'message will be sent when the ttl of an ip packet to be
  659.   routed becomes 0. This causes the system to be 'invisible' for
  660.   traceroutes, and might be useful for Internet gateways.
  661.  
  662. - 'mbox alias [<alias>] ["cmd"]' sets or shows alias commands for the
  663.   mailbox. To use an alias, the user has to type the FULL alias. Instead
  664.   of <alias>, <cmd> will be executed by the node. In the mailbox,
  665.   a user can type 'ALIas' to get a list of sysop-defined aliases.
  666.  
  667.   Without arguments, it shows the current aliases.
  668.   With only the <alias> argument is show this alias, if defined.
  669.   With <cmd> is add, redefines or clears an alias.
  670.   Eg. to add a new 'BBS' command to the node shell:
  671.         mbox alias bbs "c port bbscall"
  672.         mbox alias sysop "@"            -> allow 'sysop' command
  673.   Or to override the CONV command (or add one if you don't have convers
  674.   compiled in) and letting users use a remote convers system :
  675.         mbox alias conv "t <conv.serv.ampr.org> 3600"
  676.   to delete an alias
  677.         mbox alias myalias ""
  678.   or to change, simply redefine it
  679.         mbox alias bbs "c newport newbbscall"
  680.  
  681. - mailbox 'operator' is now sends a message to the sysop identifying
  682.   the user that initiates the 'sysop-chat'
  683.  
  684. - bug fixed from x16:
  685.   - forward subject line
  686.   - mailbox 'd,u,w,z' commands work correct with multiple paths
  687.  
  688. - 'callserver' and mailbox 'CAll' command are gone !
  689.   This can be defined with an alias (saves code !):
  690.   eg:  mbox alias call "telnet callserverhost callserverport"
  691.  
  692. - 'fkey' will now list all keys with their definition
  693.     (S=Shift, C=Control, A=Alt. Eg. SPgup = Shift Page-Up)
  694.  
  695. - ftp server sends 'anonymous login ok' message to user names that will
  696.   resolve into anonymous, unknown or unprotected (ie. password = *) logins.
  697.   This was in 1.10x16, but undocumented.
  698.  
  699. - a new nntp server is included from OH2BNS. *** This is UNTESTED *** I've
  700.   only made sure it compiles clean.! If it doesn't work, copy nntpsold.c to
  701.   nntpserv.c, and rebuild !
  702.  
  703.   From OH2BNS:
  704.  
  705.   This file describes my modifications to the NNTP server code in JNOS.
  706.  
  707.   The server now supports all forms of all RFC977 commands except NEWGROUPS.
  708.   The most significant change is that POST command now works. Changes to
  709.   other commands are less significant but still vital to get the server
  710.   to work with "third-party" newsreaders. Also supported are XHDR, XOVER,
  711.   XINFO, XLZW and DEBUG of which XHDR and XOVER are new commands.
  712.   The modifications were made under JNOS 1.10x12 and 1.10x15 and tested
  713.   also under JNOS/Linux 1.09 alpha 2 and 3. The code works as is on all
  714.   these versions.
  715.  
  716.   Here's a short list of the modifications I remember doing...
  717.  
  718.   - Fixed LIST
  719.  
  720.   - Implemented <MessageId> form of STAT, HEAD and BODY commands
  721.  
  722.   - Implemented POST
  723.  
  724.   - Posting to unexisting newsgroups now denied.
  725.     If message has no valid newsgroups in "Newsgroups:"-header
  726.     the message ends up in JUNK (= spool/news/forward).
  727.  
  728.   - Added console command 'nntp create' to create new newsgroups.
  729.     Usage is 'nntp create <newsgroup> [y|n]' where 'y' means
  730.     that you can post to this group.
  731.  
  732.   - Cleaned output of HELP
  733.  
  734.   - Implemented XHDR and XOVER.
  735.     Command syntax is XHDR header [range|MessageId] and XOVER [range]
  736.     These don't handle continuation headers correctly and XOVER isn't
  737.     fully implemented (I don't even know what all the last field
  738.     may contain).
  739.  
  740.   - The server now checks incoming message headers more strictly.
  741.     All incoming articles should have from, subject and newsgroups.
  742.     If the article is submitted with IHAVE it should have also
  743.     message-id, path and date. Empty headers are removed. Xref,
  744.     date-received, posted, posting-version, received and relay-version
  745.     headers are removed. Date, path, message-id and lines headers
  746.     are added if needed.
  747.  
  748.   - Message-id now checked against embedded whitespaces and >'s.
  749.  
  750.   - History file is locked during article transfers
  751.  
  752.   - Implemented nntp access feature. This can be toggled with
  753.     'nntp access on|off'. File spool/news/access is read and
  754.     connected host is given read, post or no access according to it.
  755.  
  756.     # Example file /spool/news/access
  757.     #
  758.     # Only first match is counts
  759.     #
  760.     # host:permissions:
  761.     #
  762.     # For some reason we don't want this host here
  763.     notwanted.ampr.org::
  764.     #
  765.     # All other ampr.org hosts can read and post
  766.     *.ampr.org:RP:
  767.     #
  768.     # Host foobar.com can only read
  769.     foobar.com:R:
  770.     #
  771.     # All other hosts will be refused access
  772.  
  773.   - Small fixes here and there, can't remember all of them...
  774.  
  775.   As soon as I find enough time and enthusiasm I will look into adding
  776.   handling of cancel messages and maybe some sort of nntp message
  777.   logging.
  778.  
  779.   All this is not very rigorously tested since tcp/ip activity here is
  780.   very low. The code seems to work just fine with newsreaders such as
  781.   WinQVT/Net's newsreader and GNUS (under Gnu Emacs).
  782.  
  783.   73 de Tomi
  784.  
  785.   Tomi Manninen            tomi.manninen@hut.fi
  786.   OH2BNS@OH2RBI.FIN.EU     oh2bns@oh2bns.ampr.org [44.139.8.46]
  787.  
  788. - added RIP-2 from Jeff White, N0POY
  789.   (not in the standard distribution. Define RIP in config.h)
  790.  
  791.     RIP-2 for NOS
  792.  
  793.     Introduction
  794.  
  795.     This document covers the implementation of RIP-2 (RFC 1388) in
  796.     NOS.  Specifically the WG7J version of NOS.  RIP-2 is an
  797.     enhanced version of the RIP protocol (RFC 1058).  RIP and RIP-2
  798.     are an interior gateway protocol (IGP).  RIP-2 for NOS was
  799.     implemented by Jeff White, N0POY.
  800.  
  801.     FEATURES
  802.  
  803.     The NOS implementation implements all features of the normal RIP
  804.     protocol (RFC 1058) and all features of the RIP-2 protocol (RFC
  805.     1388) except multicasting (which NOS does not currently
  806.     implement) and Route Tags (NOS does not implement any EGPs).
  807.     Features include:
  808.  
  809.     Routing Domains
  810.  
  811.     Authentication
  812.  
  813.     Proxy routing
  814.  
  815.     Filtering of naughty nodes
  816.  
  817.     Optional refusal of a default route
  818.  
  819.     Enhanced logging and tracing
  820.  
  821.     Route subnet masks correctly maintained
  822.  
  823.     Optional refusal to accept older RIP version broadcasts
  824.  
  825.     Mixing of RIP-1 and RIP-2 support
  826.  
  827.  
  828.     NOS RIP COMMANDS
  829.     ----------------
  830.  
  831.     RIP ACCEPT <gateway>
  832.  
  833.     The RIP ACCEPT command resumes the acceptance of RIP broadcasts
  834.     from a specific node given in the <GATEWAY> field.  Ex:  RIP
  835.     ACCEPT 192.55.248.1  or   RIP ACCEPT skeggi.tcman.ampr.org
  836.  
  837.     RIP ADD <DEST> <INTERVAL> [<FLAGS>] [<RIPVER>] [AUTH <PASSWORD>]
  838.     [RD <routing domain>]
  839.  
  840.     The RIP ADD command adds a node to the list of stations that are
  841.     to be broadcast to with the local nodes routing table.  <DEST>
  842.     is the destination node, usually a broadcast address.
  843.     <INTERVAL> is the number of seconds between broadcasts.  <FLAGS>
  844.     are the RIP flags used (see below for the flags), it is a
  845.     hexadecimal number.  <RIPVER> is the version of the RIP
  846.     broadcasts.  This may be a 1 or 2.  The AUTH identifier preceeds
  847.     the authentication password to be included with the RIP
  848.     broadcasts to this destination.  The RD identifier preceeds the
  849.     routing domain number.  This number must range from 0 to 65535.
  850.     The authentication fields and routing domain fields are only
  851.     valid with RIP-2 broadcasts.  The password must be 16 characters
  852.     or less.  Printable ASCII characters are recommended, but not
  853.     required.
  854.  
  855.     RIP FLAGS
  856.  
  857.     0x01    Do split horizon processing
  858.  
  859.     0x02    Include ourselves in the routing broadcast
  860.  
  861.     0x04    Broadcast RIP packets (default type)
  862.  
  863.     0x08    Multicast RIP packets (not implemented) (RIP-2)
  864.  
  865.     0x10    Poisoned Reverse on
  866.  
  867.     0x20    Authentication data to be included in broadcast (RIP-2)
  868.  
  869.     Recommend flags are Split Horizon, and Poisoned Reverse or 0x11.
  870.      Authentication and routing domain data entered here only
  871.     applies to the outgoing RIP broadcasts.  See RIP AUTHADD and RIP
  872.     AUTHDROP for entering acceptable passwords and routing domains.
  873.  
  874.     Example:    RIP ADD SKEGGI.TCMAN.AMPR.ORG 30 0x31 2 AUTH frodo RD
  875.     2
  876.  
  877.             RIP ADD BIGGUS.TCMAN.AMPR.ORG 300 0x11 1
  878.  
  879.     RIP PROXY <SRC> <DEST> <INTERVAL> [<FLAGS>] [AUTH <PASSWORD>]
  880.     [RD <ROUTING DOMAIN>]
  881.  
  882.     The RIP PROXY command adds a node to the list of stations that
  883.     are to be broadcast to with the local nodes routing table.
  884.     <SRC> is the node that the broadcast will "point" to.  <DEST> is
  885.     the destination node, usually a broadcast address.  <INTERVAL>
  886.     is the number of seconds between broadcasts.  <FLAGS> are the
  887.     RIP flags used (see below for the flags), it is a hexadecimal
  888.     number.  The AUTH identifier preceeds the authentication
  889.     password to be included with the RIP broadcasts to this
  890.     destination.  The RD identifier preceeds the routing domain
  891.     number.  This number must range from 0 to 65535.  The
  892.     authentication fields and routing domain fields are only valid
  893.     with RIP-2 broadcasts.  The password must be 16 characters or
  894.     less.  Printable ASCII characters are recommended, but not
  895.     required.
  896.  
  897.     RIP FLAGS
  898.  
  899.     0x01    Do split horizon processing
  900.  
  901.     0x02    Include ourselves in the routing broadcast
  902.  
  903.     0x04    Broadcast RIP packets (default type)
  904.  
  905.     0x08    Multicast RIP packets (not implemented) (RIP-2)
  906.  
  907.     0x10    Poisoned Reverse on
  908.  
  909.     0x20    Authentication data to be included in broadcast (RIP-2)
  910.  
  911.     Recommend flags are Split Horizon, and Poisoned Reverse or 0x11.
  912.      Authentication and routing domain data entered here only
  913.     applies to the outgoing RIP broadcasts.  See RIP AUTHADD and RIP
  914.     AUTHDROP for entering acceptable passwords and routing domains.
  915.  
  916.     Proxy RIP is tricky, complex and not needed for normal use.  Do
  917.     NOT use proxy rip unless you understand what you are doing.
  918.     Proxy RIP's primary use would be to advertise routes to another
  919.     machine that is aquiring routing information via another routing
  920.     protocol.  See RFC 1388 for further details.
  921.  
  922.     RIP DROP <dest> [<DOMAIN>]
  923.  
  924.     RIP DROP removes a routing broadcast entry.  If a RIP-2
  925.     broadcast was entered, the correct routing domain needs to be
  926.     entered, since it is possible to broadcast multiple routing
  927.     domains to the same address.
  928.  
  929.     Example:  RIP DROP SKEGGI.TCMAN.AMPR.ORG 2
  930.  
  931.     RIP AUTHADD <interface> <routing domain> [<password>]
  932.  
  933.     RIP AUTHADD adds an acceptable routing domain and optionally a
  934.     password to a specific interface.
  935.  
  936.     Example:    RIP AUTHADD ax0 2 frodo
  937.  
  938.             RIP AUTHADD en0 3
  939.  
  940.     RIP AUTHDROP <interface> <routing domain>
  941.  
  942.     RIP AUTHDROP removes an acceptable routing domain (and password
  943.     if any) from a specific interface.
  944.  
  945.     Example:    RIP AUTHDROP ax0 2
  946.  
  947.     RIP REJECT <version>
  948.  
  949.     RIP REJECT is used to ignore older RIP broadcasts, as they may
  950.     cause undesirable routing table alterations.  The version number
  951.     is the version number and below that are ignored.  RIP version 0
  952.     (XNS RIP) is always ignored.  The default is 0.  To ignore RIP-1
  953.     broadcasts:  RIP REJECT 1 would do the job.
  954.  
  955.     RIP FILTER <ON|OFF>
  956.  
  957.     RIP FILTER will cause advertisements to the default route
  958.     (0.0.0.0) to be tossed and ignored.  By default this is off.
  959.     This can serve as a LID filter.  Default routes should NOT be
  960.     advertised, unless there is a specific reason (ie this machine
  961.     is a gateway to the rest of the Internet).
  962.  
  963.     RIP MERGE <ON|OFF>
  964.  
  965.     RIP MERGE will cause overlapping routing entries to be merged
  966.     into one routing entry.  For example N0BEL.TCMAN.AMPR.ORG is a
  967.     route to 192.133.30.0/28, and 192.133.30.16/28, with merging on
  968.     this would become a single entry of 192.133.30.0/27.
  969.  
  970.     RIP REFUSE <gateway>
  971.  
  972.     RIP REFUSE will reject all RIP broadcasts from the GATEWAY
  973.     station.  RIP ACCEPT is the opposite.  By default all stations
  974.     are accepted.
  975.  
  976.     RIP REQUEST <GATEWAY>
  977.  
  978.     RIP REQUEST asks the gateway station to send a routing table
  979.     now, rather than waiting for periodic updates.
  980.  
  981.     RIP STATUS
  982.  
  983.     RIP STATUS will display various statistics for RIP-1 and RIP-2,
  984.     RIP broadcasts, RIP refusals, and acceptable Interface, Domain
  985.     and Password combinations.  It also displays the refusing
  986.     version level.  The DEFAULT interface is for every interface.
  987.     Thus unless removed, and RIP-2 broadcast with a domain of 0 does
  988.     not require a password and will be accepted.
  989.  
  990.     RIP TRACE <level> [<FILE>]
  991.  
  992.     RIP TRACE will begin tracing RIP operations.  The higher the
  993.     level, the more detailed the logging.  Level 9 is the useful
  994.     maximum, with level 0 (the default) being no logging.  If a file
  995.     is specified, logging will go to that file, else logging appears
  996.     on the console.
  997.  
  998.     RIP TTL <time-To-LIVE>
  999.  
  1000.     RIP TTL sets the time-to-live before RIP entries expire from the
  1001.     routing tables.  The default should work for almost all cases.
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009. 1.10x16 (930208)
  1010.  
  1011. - ftpuser permission added NO_LINKEDTO is 262144. If set, this disables
  1012.   the use of the '*** LINKED TO'. This solves a security hole. It should
  1013.   probably be added to the 'univperm' entry in your ftpuser file, and
  1014.   any other appropriate entries.
  1015.  
  1016. - mailbox convers access is now with 'CONVers' command. 'CONV' gets the
  1017.   user to channel 0, and 'CONV n' to channel n.
  1018.  
  1019. - starting tcp servers doesn't create a new process anymore (ie. they don't
  1020.   show up in the 'ps' display anymore !) This is now handled in the network
  1021.   process. From KA9Q.
  1022.  
  1023. - 'mem minalloc' sets minimum number of bytes to allocate per malloc() call.
  1024.   Setting this to a sensable value like 32 or 64 might prevent too much
  1025.   memory fragmentation for the realloc scheme to work effectively.
  1026.   Default = 0, ie no minumum allocation size;
  1027.  
  1028. - forwarding speed is fixed. It now takes a few seconds to scan through
  1029.   300+ messages to check on forwarding, instead of several minutes...
  1030.  
  1031. - added command line -e and -t options for autoexec.nos debugging.
  1032.   -e pauses after lines with errors. -t asks if you want to execute a line
  1033.   before it is processed. 'y' executes, anything else skips the line.
  1034.  
  1035. - all *.lck in the /spool/mail directory now get deleted at startup. This
  1036.   can be turned off with the '-l' command line option.
  1037.  
  1038. - a new file '/spool/names.dat' is read when mailbox messages are sent.
  1039.   If the file exists, and if the user's login name (most often the call)
  1040.   is found, the user's full name is used in the 'From:' line of the message
  1041.   (modified from code by Pierpaolo IW5DHE (pernici@mammolo.cnuce.cnr.it) )
  1042.  
  1043.   EG. in names.dat 'wg7j Johan. K. Reinalda', then a message sent by wg7j
  1044.   in the mailbox will show :
  1045.   From: Johan. K. Reinalda <wg7j@hostname>
  1046.  
  1047. - config.h gives the option for end forwarding with Ctrl-Z instead of /EX
  1048.   This has caused a problem with forwarding by some European systems.
  1049.  
  1050. - in the mailbox, if an email address has been given during registration,
  1051.   messages sent will include a 'Reply-To: ' header with this address.
  1052.  
  1053. - mailbox registration (if compiled in) can be disable with
  1054.   'mbox register off'. It defaults to on.
  1055.  
  1056. - ALL AX.25 parameters are now configurable per interface. The 'ax25 xxx'
  1057.   command sets the default values, and the 'ifconfig <iface> ax25 xxx' command
  1058.   sets or shows the interface specific values. (Note that some commands,
  1059.   eg. 'ifconfig iface paclen' have changed format ! These are marked with *)
  1060.   'ifconfig <iface> ax25' shows all values. The new commands are:
  1061.   ifconfig <iface> ax25 bbscall *
  1062.                         bctext *
  1063.                         blimit
  1064.                         cdigi *
  1065.                         irtt *
  1066.                         maxframe
  1067.                         maxwait -> new, sets max retry time-out value in ms.
  1068.                         paclen *
  1069.                         pthresh
  1070.                         retry
  1071.                         timertype
  1072.                         t3
  1073.                         t4
  1074.                         version
  1075.                         window
  1076.  
  1077.   NOTE: as a result of this 'iconfig' NO LONGER takes multiple subcommands
  1078.   on one line. They have to be broken up now !
  1079.   eg. 'ifconfig ln0 netmask ffffff00 broadcast 255.255.255.255' is invalid,
  1080.   should be 'ifc ln0 net ffffff00' and 'ifc ln0 broad 255.255.255.255' !
  1081.  
  1082.   NOTE2:
  1083.   If you want to change the system default ax.25 parameters, you now need
  1084.   to do so BEFORE attaching interfaces! (Eg. ax25 irtt 2500) After attaching,
  1085.   you should use the 'ifconfig <iface> ax25' command to change it per
  1086.   interface.
  1087.  
  1088.  
  1089. - Most TCP parameters are now configurable per interface. The 'tcp xxx'
  1090.   command sets the default values, and the 'ifconfig <iface> tcp xxx' command
  1091.   sets or shows the interface specific values. The new commands are:
  1092.   ifconfig <iface> tcp blimit
  1093.                        irtt
  1094.                        maxwait
  1095.                        mss
  1096.                        retries
  1097.                        syndata
  1098.                        timertype
  1099.                        window
  1100.  
  1101.   Outgoing TCP connections get the values for the interface the initial
  1102.   sync packet ('connect request') will be routed out on. Incoming TCP
  1103.   connections get the values for the interface the initial request comes
  1104.   in on.
  1105.  
  1106.   NOTE: as a result of this 'iconfig' NO LONGER takes multiple subcommands
  1107.   on one line. They have to be broken up now !
  1108.   eg. 'ifconfig ln0 netmask ffffff00 broadcast 255.255.255.255' is invalid,
  1109.   should be 'ifc ln0 net ffffff00' and 'ifc ln0 broad 255.255.255.255' !
  1110.  
  1111.   NOTE2:
  1112.   If you want to change the system default tcp parameters, you now need
  1113.   to do so BEFORE attaching interfaces! (Eg. tcp window 512) After attaching,
  1114.   you should use the 'ifconfig <iface> tcp' command to change it per
  1115.   interface.
  1116.  
  1117.  
  1118. - added core reallocation code, modified from TNOS (KO4KS)
  1119.   If possible, memory is given back to the DOS core.
  1120.  'mem stat' will show the number of successful reallocs.
  1121.  
  1122. - 'tcp maxwait' and 'ax25 maxwait' added. Sets a limit (in ms) to the
  1123.   retry timeout values. Both default to 0 ms (no limit).
  1124.  
  1125. - outgoing tcp connections to addresses without an existing route result
  1126.   in an error no. 19
  1127.  
  1128. - 'ftpusers' can now have multi drives, paths and permission sets.
  1129.   A path can be compound, like dos path, can contains multiple drives, and
  1130.   should be followed by the permissions for that path.
  1131.   Mailbox logins get permission from the first path listed in 'ftpusers'
  1132.   (ie. backwards compatible.)
  1133.   Fields in ftpusers can now be separated by any number and combination
  1134.   of tabs and spaces.
  1135.   NOTE: PPP users should at this NOT have multiple path entries ! (It messes up
  1136.   the ip-address field!)
  1137.   Eg:
  1138.   user  password  /public 12345 /temp;d:/help   12345
  1139.  
  1140. - fixed bug in pathname.c that could cause memory to be overwritten in
  1141.   instances where filenames contained '\' chars.
  1142.  
  1143. - fixed bug in pop 2/3 code where new mail wasn't written unless
  1144.   mailbox file existed.
  1145.  
  1146. - bug fix for empty names in smtp <usr@host> addresses.
  1147.  (caused loop in smtp server). From Matthias Wermann, DL1BJL.
  1148.  
  1149. - Smtp BID checking can be turned off with 'smtp bidcheck off'. Default is on.
  1150.  
  1151. - convers users get a 'message of the day' from the file "/spool/convmotd.txt"
  1152.   if it exists. (Can be renamed with the -fnos.cfg option)
  1153.  
  1154. - many mods from n5knx
  1155.  
  1156. - smtp kick now spawns a process (speeds up response)
  1157.  
  1158. - mbox forward scripts can pause a number of seconds: '&5' pauses 5 seconds
  1159.  
  1160.  
  1161.  
  1162. 1.10x15 (931204)
  1163.  
  1164. - if mailbox files have an old or nonexisting indexfile,
  1165.   new index files are now automatically updated at program startup
  1166.   and after returning from shell. (From an idea by Jack, kf5mg)
  1167.  
  1168.   ==> You can now use ANY MAILER you want !
  1169.  
  1170. - 'index *' indexes all mailbox files, irregardless.
  1171.  
  1172.  
  1173. 1.10x14 (931202)
  1174.  
  1175. - bug fix in expire code that caused mail from non-nos systems
  1176.   to be garbled after expire.
  1177.  
  1178. - bug in forward code with 'to%atbbs@host' style messages fixed.
  1179.  
  1180. - ax.25 irtt (initial round trip time) can be set per interface
  1181.   with 'ifconfig <iface> axirtt nnnn', where nnnn is the irtt in ms.
  1182.   This is useful when you have low and high speed interfaces.
  1183.  
  1184. - remote command fixed.
  1185.  
  1186. - convers personal data is now limited to 32 characters.
  1187.  
  1188. - added new PI driver with support for PI2 (from ve3ifb)
  1189.  
  1190.  
  1191. 1.10x13 (931031)
  1192.  
  1193. - fixed alarm() bug in mailbox2.c
  1194.  
  1195. - fixed '.' access problem in ftpserv.c
  1196.  
  1197. - fixed printf's -> tprintf's in bpq.c and bpqcmd.c
  1198.  
  1199. - fixed tprintf with no arguments in pppipcp.c
  1200.  
  1201. - deleted debug statement in nr3.c
  1202.  
  1203. - convers overload checking now done even if no links are initiated
  1204.  
  1205.  
  1206.  
  1207. 1.10x12 (931022)
  1208.  
  1209. - fixed bug in forward code that garbled addresses.
  1210.  
  1211. - also fixed 'mbox kick' bug and open index file in main.c (from kf5mg)
  1212.  
  1213.  
  1214.  
  1215. 1.10x11 (931011)
  1216.  
  1217. - 'taillog' command added.
  1218.  
  1219. - several memory leaks in use of index code fixed.
  1220.   (in initnotes(), mbx_reply(), closenotes(), and more...)
  1221.  
  1222. -
  1223.   *** DUE to a lack of hardware, this has not been tested, yet ***
  1224.  
  1225.   Polled KISS (ala G8BPQ) is now supported. When attaching the serial port
  1226.   use the mode 'pkiss' instead of 'ax25'. This becomes port 0. Then for
  1227.   all other tnc's on the same serial port, add an additional 'attach
  1228.   kiss' command. Eg. to attach 3 polled kiss tnc's(#0,2,11) at 9600bd:
  1229.  
  1230.     attach asy 3f8 4 pkiss p0 1024 256 9600
  1231.     attach kiss p0 2 p2
  1232.     attach kiss p0 11 p11
  1233.  
  1234.  The poll-intervall is calculated according to the asy interface mtu and
  1235.  the speed, with some overhead. This is the frequency in wich the list of
  1236.  tnc's is polled. Thus the frequency for each tnc is the interval * number-
  1237.  of-tnc's...
  1238.  
  1239.     interval = 0.15 + ((10 * mtu) / speed ) seconds
  1240.     poll-time = interval * #-of-tnc's
  1241.  
  1242.  (Eg. for 9600bd with mtu=256 , interval = 0.416 sec; rounded up to the
  1243.   nearest system clock tick gives 440ms; thus poll-time for each tnc is
  1244.   about 1.5 seconds)
  1245.  
  1246.   From G8BPQ's 'PORTS.DOC' document, I conclude that polled mode and checksum
  1247.   addition always go together (unlike the Kantronics tnc's that can switch
  1248.   things on and off independently...) This is how JNOS and JNOS40 polled kiss
  1249.   is implemented.
  1250.  
  1251.   From G8BPQ's 'KISSROMS.DOC' is some information on how to connect the tncs:
  1252. -------------- insert ----------------
  1253.   The system uses polling to prevent contention on the link. Each TNC must
  1254.   run the BPQKISS program, and each must have a different 'address' byte
  1255.   patched in at location 20hex...
  1256.   In theory you can have up to 16, but in practice the maximum will depend
  1257.   on the power of the PC and the speed of the radio ports.
  1258.   
  1259.   Wiring.
  1260.  
  1261.           PC              TNC 1           TNC 2
  1262.  
  1263.    GROUND  7 ---------------7----------------7-----------  etc
  1264.  
  1265.        TXD 2 ---------------2----------------2-----------  etc
  1266.  
  1267.        RXD 3 --------------------------------------------  etc
  1268.                              |               |
  1269.                              -               -
  1270.                              ^               ^
  1271.                              |               |
  1272.                              3               3
  1273.  
  1274.     -
  1275.     ^   is a diode (1N914 or similar)
  1276.  
  1277.  
  1278.     With some TNCs and serial cards, a pulldown resistor may be required
  1279.     from pin 3 on the PC (10k to -12v is suggested). Thanks to G3ZFJ for this
  1280.     information.
  1281. ----------------end of insert--------------
  1282.  
  1283.    For more information see the G8BPQ documentation.
  1284.  
  1285.  
  1286. - 'convers tdisc' added. Set maximum inactivity time (in seconds)
  1287.   for users.
  1288.  
  1289. - 'ftptdisc' and 'mbox tdisc' commands were rewritten, and are no longer
  1290.   options in the config.h file.
  1291.  
  1292.  
  1293.  
  1294. 1.10x10 (930927)
  1295.  
  1296. - smtp server has configurable timeout. 'smtp tdisc' sets this. Server will
  1297.   close if client doesn't send any data for specified time (in seconds).
  1298.  
  1299. - indexing is changed; now variable lenght records are used, to keep complete
  1300.   header info. The create utility is now MAIL2IND.EXE
  1301.  
  1302. - log files are changed: they are now named 'ddmmmyy' and are kept in
  1303.   the /logs directory by default (Unless changed with nos.cfg option).
  1304.   Ie. each day automatically gets a new log !
  1305.   Logging can be turned on/off with 'log on|off' (ie this does not set
  1306.   the log filename anymore !)
  1307.  
  1308. - forwarding when bbs already connected is fixed.
  1309.  
  1310. - mailbox 'KA' command added to 'Kill All' messages
  1311.  
  1312. - 'index <mailbox>' command added to rebuild the index file for a mailbox
  1313.   text file.
  1314.  
  1315. - convers '/w' command now can show info for one user with '/who <user>'
  1316.  (as long as <user> doesn't start with 'q', since this is a quick /who')
  1317.  
  1318. - many more config.h switches added.
  1319.  
  1320. - 'netrom call' buffer problem fixed.
  1321.  
  1322. - 'message.ftp' file now also works when ftp users login to root dir.
  1323.  
  1324. - mailbox list works with display > 80 columns
  1325.  
  1326. - little bug in expire fixed.
  1327.  
  1328. - extended telnet option negotiation might work now...
  1329.   You should define TN_KK6JQ in telnet.h to activate it.
  1330.  
  1331. - G8BPQ driver include; #define BPQ in config.h . Here is the read.me :
  1332. 4-12-93
  1333.  
  1334. here is an addition to nos that allows it to attach interfaces directly
  1335. to bpqcode without having to use the packet driver interface and
  1336. nodedrv4.com TSR. nos will talk to bpqcode using the bpq_host interrupt
  1337. code in version 4.00 and up of bpqcode. this eliminates the extra
  1338. memory and processing time used by nodedrv4.com to send packets between
  1339. nos and bpqcode.
  1340.  
  1341. this code was developed with nos v 911229 wg7j v1.07b. it should be
  1342. easily ported to other versions. it consists of three files: bpq.c,
  1343. bpq.h, and nos2bpq.doc (this file). there are several changes to
  1344. other files in nos that are needed. these changes are described
  1345. below.
  1346.  
  1347. usual disclamer:
  1348. the code described herein is copyright 1993 by FazCom. it may be freely
  1349. used and distributed for non-commerical amateur radio use only, provided
  1350. this notice remains, all other rights reserved. FazCom is not responsible
  1351. for any liability, directly or indirectly, resulting from the use of this
  1352. code, nor for its suitability to any purpose, stated or otherwise.
  1353.  
  1354. now that that's over with; use and enjoy.
  1355. ... faz ...
  1356.  
  1357. paul h launspach n5faz
  1358. 7913 edgemere blvd
  1359. el paso, tx 79925-3836
  1360. packet: n5faz @ w5es.#wtx.tx.usa
  1361. amprnet: n5faz@n5faz.ampr.org 44.77.0.70
  1362. internet: none
  1363. cis: 71046,0076
  1364.  
  1365.  
  1366. *** Commands for using the bpq host to nos interface:
  1367.  
  1368. attach bpq init <vec> <stream>
  1369. Used to initilize the bpqhost interface.
  1370.         vec     interrupt vector in hex of the bpq_host code normally 0x7f.
  1371.                 must be the same as defined in bpqcfg.txt.
  1372.         stream  bpq_host stream number used by nos. must be between
  1373.                 1 and 64 and not used by any other program. nos uses
  1374.                 only one stream for all interfaces attached to bpq_host.
  1375.  
  1376. attach bpq <port> <label> [mtu [callsign]]
  1377. Used to attach an interface to the bpq node.
  1378.         port    bpq radio port number as defined in bpqcfg.txt
  1379.         label   name of this interface.
  1380.         mtu     paclen for this interface. if not given set to
  1381.                 AX25 Paclen.
  1382.         callsign call used for this interface. if not given set to
  1383.                 AX25 Mycall.
  1384.  
  1385. bpqstat
  1386.  
  1387. display the status of the bpq_host to nos code. values displayed are:
  1388. bpq_host interrupt vector, bpq_host stream number, number of bpq_host
  1389. ports in use, frames sent, frames recieved, transmit calls, recieve
  1390. calls, and control calls.
  1391.  
  1392.  
  1393.  
  1394. - SCC driver has support for Baycom modem. From Rene Stange, dg0ft
  1395.   Here is some info:
  1396.  
  1397. NOS-Version 920411.DG0FT.920508  for BayCom USCC - Slotcard.
  1398.  
  1399. With this version of PE1CHL`s SCC-Driver for KA9Q-NOS it is possible to use
  1400. the BayCom-USCC-Slotcard.
  1401. Special changes to the sources for the clocks were adapted, NRZ-mode for the DF9IC-
  1402. Modem was made possible and the CTS-external status interrupt was switched
  1403. off, because the feedback of /CTS to the Interrupt output might crash
  1404. the system.
  1405.  
  1406. The ATTACH-command for the USCC is to be used as following:
  1407.  
  1408. attach scc 2 init 300 2 4 5 -4 0 7 p4915200 10
  1409.            ^      ^   ^ ^ ^  ^ ^ ^ ^        ^
  1410.            1)     2)  3)4)5) 6)7)8)9)       10)
  1411.  
  1412. 1) number of SCC-controllers 8530
  1413. 2) address basis of 1st controller
  1414. 3) offset in address between the SCC-Chips
  1415. 4) offset from basis address to control-port of channel A
  1416. 5) offset from basis address to control-port of channel B
  1417. 6) offset between control-port to data port of channel
  1418. 7) always 0, because no INTACK
  1419. 8) used Interrupt
  1420. 9) Clock 4915200 Hz
  1421. 10 always 10, marks BayCom USCC
  1422.  
  1423. Because of the used port-address scheme only one slotcard can be used.
  1424. Personalize parameters 2) and 8) to your system
  1425.  
  1426. When you have given above command you have to initialize the SCC-ports to
  1427. be used as following:
  1428.  
  1429. attach scc 0 ax25 uscc0 256 1200  1024 mycall
  1430. attach scc 1 ax25 uscc1 256 1200  1024 mycall
  1431. attach scc 2 ax25 uscc2 256 d9600 1024 mycall
  1432. attach scc 3 ax25 uscc3 256 ext   1024 mycall
  1433.            1)      2)   3)   4)   5)    6)
  1434.  
  1435. 1) number of USCC-port
  1436. 2) name of this port
  1437. 3) maximum packet length (MTU)
  1438. 4) kind of modem and baudrate
  1439. 5) size of buffer
  1440. 6) optional call for this channel
  1441.  
  1442. Definition of paramter 4):
  1443.  
  1444. 1200   AFSK-modem using internal SCC-clock and 1200 Bd
  1445.        (e.g. TCM3105-modem), no fullduplex operation
  1446.  
  1447. d9600  modem with external TX-clock, internal RX-clock 9600 Bd,
  1448.        fullduplex operation possible.
  1449.  
  1450. ext    DF9IC-modem, NRZ-mode, external clock
  1451.  
  1452. Parameter 2-6 have to be personalized as required
  1453.  
  1454. I just want to state, that this version was not completely tested,
  1455. especially modems with external clock (DF9IC/G3RUH) were not tested
  1456. or only in loopback-mode.
  1457.  
  1458. The parameter-setting sometimes is a little bit unusual, because
  1459. some of the data have to be set up in  fractions of 1/18.2s.
  1460. The PC-Timer chip is the reason for that. A recalculation might have
  1461. been possible, but I didn`t enjoyed to do that.
  1462.  
  1463. 73`s from Rene, Strausberg (GERMANY).
  1464. DG0FT  at DB0KG
  1465.  
  1466.  
  1467.  
  1468.  
  1469. 1.10x9 (930728)
  1470.  
  1471. - dos environment variables can be set to allow a login without using
  1472.   the ftpusers file. (This is very handy when this file gets corrupted!)
  1473.   NOSSYSOP sets username, NOSPASSWD the password, and optional NOSPATH the
  1474.   path, and optional NOSPRIVS the priveledges. If NOSPATH is not set, it will
  1475.   be the root dir on the current drive. If NOSPRIVS is not set it will be
  1476.   FTP_READ + FTP_WRITE + FTP_CREATE + AX25_CMD + NETROM_CMD + TELNET_CMD +
  1477.   SYSOP_CMD + IS_EXPERT . NOSPRIVS accepts both decimal and hexadecimal if
  1478.   "0x" preceeds the value.
  1479.  
  1480.   Eg: before starting JNOS: 'set NOSSYSOP=johan' and 'set NOSPASSWD=password'
  1481.  
  1482. - mailbox closenotes() is less a cpu-hogg ;-)
  1483.  
  1484. - convers servers is a little more memory efficient by not allocating input
  1485.   buffers for users on other hosts (saves 256 bytes per user)
  1486.  
  1487. - telnet extended options and dos environment TERM deleted because of
  1488.   reported problems. (If you want it anyhow, define TN_KK6JQ in telnet.h)
  1489.  
  1490. - expire stack increased again to solve crashes
  1491.  
  1492. - little bug fix in arp.c that caused replies with wrong ip address sometimes.
  1493.   by Mike Gallaher, wa3hee
  1494.  
  1495. - 'domain addserver' has optional timeout value in seconds for this server.
  1496.   if not set, timeout defaults to 3 * tcp irtt.
  1497.   Eg: 'domain addserver wg7j.ece.orst.edu 30'
  1498.  
  1499. - cdigi digipeating now only works if BOTH interfaces involved have a cdigi
  1500.   callsign set.
  1501.  
  1502. - bug that caused 'you have new mail' to be send to bbs's fixed.
  1503.  
  1504. - attempt to handle convers servers with hostname or usernames > 10 .
  1505.  
  1506. - mailbox 'K' or 'KU' command nowm kills or unkills current message if no
  1507.   message list is given.
  1508.  
  1509. - expire process is prevented against mulltiple invocations.
  1510.  
  1511. - G8BPQ logging was logging destination node, instead of source; now fixed.
  1512.  
  1513.  
  1514.  
  1515. 1.10x8 (930721)
  1516.  
  1517. - a version of BM.EXE with support for Mail Index Files is now included
  1518.   (initial version is 4.0x1. Still needs more work, but is functional)
  1519.   See the BM.EXE and BM4.ZIP files.
  1520.  
  1521. - if MAILBOX is undefined in config.h, but ALLSERV or TTYCALL is defined,
  1522.   incoming connections to telnet-port, or netrom/ax25 calls go to the
  1523.   tty-link listener...
  1524.  
  1525. - ax.25 convers and tty call connection now go directly to their server,
  1526.   and bypass the mailbox completely...
  1527.  
  1528. - many process stack sizes have been decreased to better utilize memory
  1529.  
  1530. - ftp server has additional information possibilities:
  1531.   if a file 'message.ftp' exists in the initial directory (eg. /public, or
  1532.   whatever), it will be send right after the login.
  1533.   When CD-ing, if a file 'desc.ftp' exists in the new directory, the
  1534.   server will send the text in this file to the user...
  1535.   From Giancarlo, IW5CZT.
  1536.  
  1537. - mailbox problem with smtp_send process solved; should fix a few
  1538.   unexpected disconnects here and there. From Mark, ve3dte
  1539.  
  1540. - 'status' command now shows if system is 'loosing time' through missed
  1541.   hardware tick interrupts, or through DV or OS/2 DOS emulation problems.
  1542.   (If it doesn't show it, it didn't miss any :-)
  1543.  
  1544. - forwarding finally works correctly again with new index code.
  1545.  
  1546. - mailbox 'List' works again with indexfiles and userlog code.
  1547.  
  1548. - 'smtp list' fixed under DV ad OS/2 (with correct date/time)
  1549.  
  1550. - digipeat bug with crossband fixed
  1551.  
  1552. - included extended telnet option negotiations, and a DOS enviroment
  1553.   variable "TERM" can be set to the terminal type. From kk6jq
  1554.   ( This was Deleted in 1.10x9 because of reported problems; if you
  1555.     want it anyhow, define TN_KK6JQ in telnet.h )
  1556.  
  1557. - 'ip heard' now works on netrom by setting 'ip hport netrom on'
  1558.  
  1559. - memory leak in convers.c '/p' processing fixed (from Mark, ve3dte)
  1560.  
  1561. - ax.25 and netrom resets will send a disconnect to be polite.
  1562.  
  1563. - current msg pointer in mailbox fixed.
  1564.  
  1565. - smtp 'Apparently-To:' fixed.
  1566.  
  1567. - both jnos and mail2idx use 'Apparently-To' header if 'To:' doesn't exist.
  1568.  
  1569. - mailbox 'SF' works again.
  1570.  
  1571.  
  1572.  
  1573. 1.10x7 (930708)
  1574.  
  1575. - little fix in new private mail notification.
  1576.  
  1577. - fixed dir problem introduced in 1.10x6 .
  1578.  
  1579. - convers maxq code changed; you can now set limits for users and hosts with
  1580.   'convers umaxq' and 'convers hmaxq' . If set to 0, there is no limit,
  1581.   otherwise connections will be reset if there is more then the maxq value
  1582.   data outstanding on the connection. This should now also reset connections,
  1583.   instead of the previous graceful close...
  1584.  
  1585.  
  1586.  
  1587. 1.10x6 (930707)
  1588.  
  1589. - I've tested pop2/3 and they should now really be working with
  1590.   the index files. :-)
  1591.  
  1592. - mail2idx bugfix in -d option.
  1593.  
  1594. - additional permission bit in ftpusers: NO_LISTS = 131072  (0x10000)
  1595.   if set, user can not list mailbox IH, IP, P, N, and NR commands.
  1596.  
  1597. - fixed some '#define' areas
  1598.  
  1599.  
  1600.  
  1601. 1.10x5 (930630)
  1602.  
  1603. - fixed 'MM' and 'SR' mailbox commands.
  1604.  
  1605.  
  1606.  
  1607. 1.10x4 (930629)
  1608.  
  1609. - pop2 and pop3 should now be compatible with the mail index files.
  1610.   However: I do not use either pop2 or pop3 and thus the code has NOT
  1611.   been tested. I would appreciate feedback.
  1612.  
  1613. - Monitor Trace mode added. Gives a shorter, easier trace display.
  1614.   'trace <iface> 3xy' sets this, where x=1 sets input, y=1 sets output
  1615.   From Brandon Allbery, KF8NH
  1616.  
  1617. - bugfix in MAIL2IDX.EXE. Doesn't write a faulty index file anymore if
  1618.   mailfile is emty or contains data but no messages.
  1619.  
  1620. - new icmp source quence behaviour:
  1621.   if 'icmp quence off' is set, when a ip packet is received, and
  1622.   mem < threshold, it will be dropped (ie. no quench or anything.)
  1623.   This might help systems with ethernet controllers or other higher
  1624.   speed interfaces...
  1625.   (If 'icmp quench on', the default, behaviour is as before)
  1626.  
  1627.   From a message Barry McLarnon, ve3jf, forwarded to me :
  1628.   "From: heisen@numerik.uni-duesseldorf.de (Henner Eisen)
  1629.   Newsgroups: comp.protocols.tcp-ip.ibmpc
  1630.   Subject: Re: KA9Q as Gateway... how?
  1631.   Date: 8 Mar 1993 10:04:50 GMT
  1632.   ...Whenever KA9Q receives new packets faster than it can process them
  1633.   the internal buffer is likely to overflow. The way KA9Q deals with that
  1634.   situation is as follows:
  1635.   There is a high water mark for the dynamically allocatable storage (its value
  1636.   may be changed in autoexec.net with the "memory thresh #" command ). Whenever
  1637.   that hig water mark is exceeded KA9Q will submit an ICMP Source Quench to the
  1638.   originator of every additionally received packet. Unfortunately, this requires
  1639.   additional system resources (especially more storage). The result is that,
  1640.   before the originator will have reacted upon the ICMP Source Quench, KA9Q's
  1641.   dynamic storage will be exhausted. (Several TCP/IP implementations even won't
  1642.   react upon ICMP Source Quenches at all). I don't know what really happens
  1643.   after that, probably this causes a deadlock somewhere else and KA9Q hangs...
  1644.  
  1645.   ...Now, whenever the high water mark is exceeded and a new
  1646.   packet arrives that packet is dropped immediately and no further storage is
  1647.   needed. The higher protocoll layers will keep track of retransmitting the
  1648.   dropped packets and a well-implemented TCP will even automatically adjust to
  1649.   the maximum possible transmission speed..."
  1650.  
  1651. - 'ax25 ttycall' sets tty-link call for direct keyboard access. Remember to
  1652.   make sure you have both 'attended on' and 'mbox attend on'.
  1653.   From Brandon Allbery, KF8NH
  1654.  
  1655. - AX.25 ports can have a 'cross-band digipeater only' callsign. If this call
  1656.   is set, digipeating works independent of the 'ax25 digiport' setting !
  1657.   (Connections to this call do NOT work)
  1658.   'ifconfig <iface> cdigi <call>' sets this.
  1659.  
  1660. - open file problem in List fixed.
  1661.  
  1662. - AX.25 RNR frame bugfix in lapb.c, from Mark, ve3dte
  1663.  
  1664. - value given to g8bpq nodes for rtt corrected, from Mark, ve3dte
  1665.  
  1666. - more system information via finger server (modified from N7IPB). Valid
  1667.   are now:  iheard,mstat,info,ax25,netrom,tcpview,memstat,socket,asystat,
  1668.   ifconfig and rip
  1669.  
  1670. - from N7IPB:
  1671.  
  1672.   * Interface names are now case insensitive
  1673.  
  1674.   * Support for F11 and F12 (control,shift,alt) added
  1675.  
  1676.   * Delay added on startup before enabling 'more'.
  1677.  
  1678.   * domain ttl  - Select a default ttl value to be applied to server
  1679.                        responses that contain none.
  1680.  
  1681.   * domain dump - Clears the domain cache
  1682.  
  1683.   * domain update - Allows you to control whether or not your domain.txt file
  1684.                     is updated with server responses
  1685.  
  1686.   * domain subnet - Works in conjunction with 'domain translate' to allow or
  1687.                     disallow translation of any address ending in 0 or 255. 
  1688.                     On systems that have a lot of subnets this can result in
  1689.                     a considerable speedup when displaying routes with domain
  1690.                     translate on.
  1691.  
  1692.   * ipmerge now correctly merges routes of the form 'x.x.x.x ax0 x.x.x.x'
  1693.     where the two addresses are identical and a previous route exists for
  1694.     this address. This fixes a nasty routing problem on subnets that have
  1695.     multiple routers.
  1696.  
  1697. - mail system messages are now more verbose.
  1698.  
  1699. - bug with mailbox 'KM' command fixed.
  1700.  
  1701. - mailfor.c now also uses the mail index files.
  1702.  
  1703. - ax25 beacon text can now be set per interface with
  1704.   'ifconfig <iface> beacon [bctext]'
  1705.   If you set 'ax25 bctext' before interfaces are attached, all ax.25
  1706.   interfaces will have this bctext as default.
  1707.   If you set 'ax25 bctext' after one or more ax.25 interfaces have been
  1708.   attached, only those with no bctext will get the new bctext.
  1709.   (Remember, you still have to enable ID-ing with 'ax25 bcport' !)
  1710.  
  1711.  
  1712.  
  1713. 1.10x3 (930622)
  1714.  
  1715.  
  1716. - mailbox works with index files. Much faster ! Before you run this you
  1717.  should build index files by running MAIL2IDX.EXE. See the section above
  1718.  'MAIL INDEX FILES' for more. If JNOS doesn't find any index files in the
  1719.  mail directory at startup, it will warn you to run MAIL2IDX.EXE
  1720.  
  1721. - mailbox 'LS subject' lists messages in current mail area with 'subject'
  1722.   in the subject line.
  1723.  
  1724. - 'ax25 bbscall' now changes or sets all interfaces where bbscall is not set
  1725.   to the bbscall. 'ax25 mycall' will not override bbscall anymore, once it has
  1726.   been set. You should
  1727.   1 - set 'ax25 mycall xyz-#'
  1728.   2 - 'attach' all interfaces
  1729.   3 - set 'ax25 bbscall xyz-#' or 'iface <name> bbscall xyz-#'
  1730.  
  1731. - smtp server bid memory leak fixed (N5KNX).
  1732.  
  1733. - smtp server Ctrl-Z in lines now handled.
  1734.  
  1735. - pop2 and pop3 servers are now case insensitive for commands.
  1736.  
  1737.  
  1738.  
  1739. 1.10x2 (not released)
  1740.  
  1741.  
  1742. - mods to pop3 server to fix long line reboots. From Ross Patterson, N4YYH
  1743.  
  1744.  
  1745.  
  1746. 1.10x1 (930609)
  1747.  
  1748.  
  1749. - mailbox problem with remembering last read if a Ramdrive is used
  1750.   is fixed. From N5KNX
  1751.  
  1752. - mailbox fixed to allow for ^Z at end of line when sending mail.
  1753.   Allows FBB to forward better. From N5KNX .
  1754.  
  1755. - obscure bug in ax.25 bctext fixed, from Brandon Allbery, KF8NH
  1756.  
  1757. - pop3serv.c fixed for files > 32k
  1758.  
  1759. - G8BPQ NET/ROM Extension handshaking added to Connreq/Connack packets.
  1760.   G8BPQ nodes are now indicated in the netrom route displays.
  1761.   JNOS will reply to G8BPQ nodes in BPQ style if "netrom g8bpq" is on.
  1762.  
  1763. - 'convers maxq' should now work.
  1764.  
  1765. - drastic clean-up of prototyping in source modules. Most all warnings
  1766.   are gone (apart from a few in the gracilis drivers). Also fixed some .asm
  1767.   modules for 80186 and above.
  1768.  
  1769. - commented out net/rom raw sockets; saves 0.5k
  1770.  
  1771. - session screens when swapped out (ie. not the active session)
  1772.   can now be saved in 4 different modes. This can save conventional memory.
  1773.   Modes are:
  1774.   0 - in EMS (if available), this is now the default mode.
  1775.   1 - in XMS (if available and no EMS) (Note: NOT! functional yet)
  1776.   2 - in conventional memory, the previous method. Used if EMS/XMS doesn't exist.
  1777.   3 - in a temporary file. (Use only if you have a ramdisk for tmpfiles, or
  1778.       a fast harddisk with cache...)
  1779.  
  1780.   You can force options 1, 2 and 3 from the command line starting NOS with the
  1781.   -m# option, where # is 1, 2 or 3 ...
  1782.  
  1783.   The 'session' command display show the swap mode in use under the 'Sw'
  1784.   heading. E for EMS, X for XMS, M for Memory and F for File.
  1785.  
  1786.   You can show the current swap mode with 'session swap' or set it with
  1787.   'session swap E|X|M|F' for Ems, Xms, Memory, or File.
  1788.  
  1789. - user registration code from K5MG added (with mods)
  1790.   Mailbox "register" command registers users. The file /spool/mreg.txt will
  1791.   be shown to users attempting this...
  1792.  
  1793. - rewriting of the files-naming code (for -f option), saves 1.5k
  1794.  
  1795. - deleted POP option from config.h; it's functionality is duplicated
  1796.   in POP2XXXX
  1797.  
  1798. - PPP option negotiation bug fixed, from D. Myers.
  1799.  
  1800. - 'mbox jumpstart' is gone.
  1801.   You can now define a bbs call with 'ax25 bbscall'. Default is ax25 mycall
  1802.   value. The bbscall will be automatically set on appropriate interfaces
  1803.   and depending on whether the interface drivers call setencap() (not all do).
  1804.   Or you can set it with 'iface <iface> bbscall <bbscall>'
  1805.  
  1806.   Jumpstart now works as follows:
  1807.   NO connections to the interface hwaddress get jumpstarted.
  1808.   ALL connections to the bbscall for each interface, or ax25 alias
  1809.   get jumpstarted.
  1810.  
  1811.   This should solve all problems with wrong jumpstarts,
  1812.   as long as hwaddress is not equal to bbscall !
  1813.  
  1814.  
  1815. JNOS 1.09 (Never 'officially released')
  1816.  
  1817. - from Lars, sm6rpz:
  1818.   * 'mem efficient' command deleted, since it has been totally
  1819.   useless for "eons" :)
  1820.  
  1821.   * ax.25 dis-connected state transition memory overwrite problem fixed.
  1822.  
  1823.   * tcp_reset problem fixed.
  1824.  
  1825.   * iface detach routines clean out ax.25 routes.
  1826.  
  1827.   * makeroutes() in rspf.c bug fix.
  1828.  
  1829. - rewrite file now ignores additional spaces and tabs; from kd4cim
  1830.  
  1831. - kiss.c time-problem in interface-send fixed.
  1832.  
  1833. - "exit" command from the keyboard now asks if you want to do it.
  1834.   (if not from keyboard, this is skipped...)
  1835.  
  1836. - 'at' command is now a process, solves lots of problems...
  1837.  
  1838. - convers.c /p and memory problems fixed, from VE3DTE
  1839.  
  1840. - duplicate bid in smtpserv solved, from KD4CIM
  1841.  
  1842. - smtp looping 'hard' fix: if it occurs, message is dropped.
  1843.   (a '550' error code is sent, causing a 'hard-error')
  1844.  
  1845. - xspawn dropped from distribution because of many problems reported.
  1846.  
  1847.  
  1848. 1.08df (930404)
  1849.  
  1850. From WA3DSP:
  1851. This source code is JNOS108D with most all prototype errors corrected.
  1852. Those not corrected are in some drivers - in particuliar the twin drivers.
  1853. Also other nagging errors have been corrected.
  1854. A compile should show NO errors unless you are using a module I was not
  1855. when I went over this.
  1856. Also - 
  1857. - DOS 6.0 support added in MAIN
  1858. - ASM's are 386 compliant
  1859. - Makefile has 386 compile option
  1860. - Makefile uses strictly autodepend - no .h dependecies required - works
  1861.   good for borland c 3.1 - This makefile should be included as an option
  1862.   for those using it!! It is much more reliable and less subject to problems.
  1863. - Ifdef's added on modules - some may still be missing - decreases compile 
  1864.   time significantly when that module is not defined 
  1865. - Some other minor fixes.
  1866.  
  1867.  
  1868. 1.08d (930311)
  1869.  
  1870. - new tipmail.c from Doug, wa3dsp
  1871.  
  1872. - 'domain startdns' is gone. Domain Name Server can be turned on and off,
  1873.   with 'domain dns [on|off]'
  1874.   Also found a problem in getline.c where domain.txt is read...
  1875.  
  1876. - convers server has been optimized to send less multiple-packet responses.
  1877.  
  1878. - 'convers allow' is now replaced with 'convers filter'
  1879.   'convers filter mode [accept|refuse]' shows or sets the mode (default refuse)
  1880.   'convers filter [ipaddress|hostname]' add an ip address to the filter
  1881.   table.
  1882.   If filter mode is refuse, then convers links from hosts in the list will
  1883.   be refused. If filter mode is accept, then only links from hosts in the
  1884.   list will be accepted.
  1885.  
  1886.  
  1887. 1.08c (930305)
  1888.  
  1889. - several system errors and permission infringements will now send
  1890.   a message to the user 'sysop'.
  1891.   This is controlled with 'error [on|off]'. Default is on.
  1892.  
  1893. - BBS R:-line sends message BID as well
  1894.  
  1895. - local fingers now work. Eg 'finger johan'
  1896.  
  1897. - several Turbo-C 2.0 compile problems fixed; from Jim Dugal, N5KNX
  1898.  
  1899. - Mailbox R/V/K commands allow message ranges... Eg: 'R 1-4', from N5KNX
  1900.  
  1901. - problems with smtp BID checking should be fixed...
  1902.  
  1903.  
  1904. 1.08b (930224)
  1905.  
  1906. -smtp server bid problem fixed.
  1907.  
  1908. -finger server fixed
  1909.  
  1910.  
  1911. 1.08 (930222)
  1912.  
  1913. - all commands that effect interface flags have new syntax.
  1914.   They now need ON or OFF to set the state of the flag.
  1915.   If no interface is given, all interfaces with the flag set will be shown.
  1916.   If interface is given, but no on|off, then the state of the flag will
  1917.   be shown.
  1918.  
  1919.   Eg:
  1920.   ax25 bcport
  1921.         will show ALL active ax.25 beacon interfaces
  1922.   mbox hideport 2m
  1923.         will show the state of the interface '2m'
  1924.   convers interface 2m on
  1925.         will turn on convers call access on interface '2m'
  1926.   ax25 digipeat 2m off
  1927.         will turn off digipeating on interface '2m'
  1928.  
  1929.   The command affected are:
  1930.  
  1931.   mbox ax25only [iface] [on|off]
  1932.   mbox useronly [iface] [on|off]
  1933.   mbox sysoponly [iface] [on|off]
  1934.   mbox bbsonly [iface] [on|off]
  1935.   mbox mport [iface] [on|off]
  1936.   mbox hport [iface] [on|off]
  1937.   convers interface [iface] [on|off]
  1938.   ax25 digipeat [iface] [on|off]
  1939.   ax25 bcport [iface] [on|off]
  1940.   ax25 hport [iface] [on|off]
  1941.   ip hport [iface] [on|off]
  1942.   arp poll [iface] [on|off]
  1943.   arp eaves [iface] [on|off]
  1944.  
  1945.   NOTE that ax.25 ports now default to ON for:
  1946.   beacon, mail-id, digipeat, ax-heard and ip-heard !!!
  1947.  
  1948. - the BID checking in the SMTP server (from 1.05) now works !
  1949.   if a 'Message-Id: ' line is received with a valid BID format
  1950.   (ie. 'BID#@Bbscall.bbs' format), then the BID will be cross checked
  1951.   with the ax.25 bid file ('history' file). If a duplicate, response will be
  1952.   "452 Duplicate BID in Message-Id line\n";
  1953.  
  1954. - 'repeat [interval in ms] command (from new ka9q, ported by wa3dsp)
  1955.   Starts a new session screen with the output of the command updated
  1956.   every interval ms. If you hit F10 it ends the session.
  1957.   Eg: repeat 1000 t s
  1958.   (repeat every second 'tcp status' command)
  1959.  
  1960. - buckbook support driver updated; again, this is NOT tested !.
  1961.  
  1962. - for all AX.25 ports, you can now indicate what kind (if any) of mailbox
  1963.   connections are allowed.
  1964.  
  1965.   mbox noax25 [<iface>] [on|off]
  1966.         shows or setss the 'no ax25 maibox connections.
  1967.         This prohibits mailbox connects, but still allows IP in VC mode.
  1968.  
  1969.   mbox bbsonly [<iface>] [on|off]
  1970.         shows or toggles 'bbs only' per port. The IS_BBS bit
  1971.         in /ftpusers has to be set in order to be able to login to the bbs
  1972.  
  1973.   mbox usersonly [<iface>] [on|off]
  1974.         shows or toggles the 'users only' flag. Any call with the IS_BBS
  1975.         flag NOT set can login to the bbs via this port
  1976.  
  1977.   mbox sysoponly [<iface>] [on|off]
  1978.         shows or toggles the 'sysop only' flag. Any
  1979.         call with sysop permissions can login to the bbs via this port.
  1980.  
  1981.   NOTE: this does NOT work for NET/ROM and TCP connections, since for those
  1982.   protocols there is no real concept of incoming port...
  1983.  
  1984. - TIP MAILBOX improvements from Doug Crompton, WA3DSP
  1985.   CD is now detected and influences the login, and XMODEM transfers can
  1986.   be done with TIP logins. Here is what Doug writes about it:
  1987.  
  1988. NEW commands  -
  1989.  
  1990. 'start tip <interface> <terminal|modem> [timeout seconds]'
  1991. BBS added commands - 'dx <filename>' , 'ux <filename>'
  1992. Deleted command - 'mbox tiptimeout'
  1993.  
  1994. Tip code has been extensively modified. It now works with a terminal
  1995. (3 wire connect) or modem (CD)  Two tiers of timers, the first being
  1996. set on the 'start tip' command line and the second "grace" timer fixed
  1997. at 1 minute. CD loss is unconditionally detected. 
  1998.  
  1999. Tip timeout timers should not effect xmodem as long as they are not set
  2000. shorter than xmodem timeout - 120 seconds. Tip default is 180 seconds.
  2001. The 'mbox tiptimeout' command has been taken out - setting is in the
  2002. start tip command line.
  2003.  
  2004. Phone connects, and xmodem successful up/downloads are logged if logging
  2005. is turned on. xmodem BBS commands are only available with tip connects.
  2006. Only 128 byte xmodem packets are allowed at this time. This is the standard
  2007. original xmodem format that is supported on most all comm programs.
  2008.  
  2009. Note that most internal modems do not use a 16550. Therefore on heavily
  2010. loaded NOS systems it might be desireable to use an external modem with
  2011. a 16550 serial port. I have not run my system above 2400 baud using an
  2012. internal modem. Based on what I see on my system I would expect that
  2013. a 16550 interface would be a requirement for higher baud rates - I.E 9600.
  2014.  
  2015.  
  2016. - 'convers maxq' command sets or shows the maximum transmit data outstanding
  2017.   on convers links (permlink or other) before a hostlink is rudely reset.
  2018.   Default is 5kb (ie 5120 bytes)
  2019.  
  2020. - Bulletins with NO BID can be refused if 'mbox nobid off'
  2021.   off means refuse them, on means accept. Default is OFF, ie refuse !
  2022.  
  2023. - NOTE: the 'mbox haddress' now NEEDS THE CALLSIGN !!!
  2024.   eg:  mbox haddress WG7J.OR.USA.NA   !!
  2025.   The First part (ie WG7J) will be used to assign BID/MID's from our
  2026.   system, eg 1234_WG7J
  2027.  
  2028. - device files etc. can not be opened anymore; ie no more finger crashes
  2029.   to 'CON' 'AUX' etc...
  2030.  
  2031. - bug in 'route lookup' fixed
  2032.  
  2033. - Mbox forwarding now marks ALL messages that received the 'NO'
  2034.   reply as forwarded.
  2035.  
  2036. - Mbox forwarding now sends all mail in areas starting with 'nts'
  2037.   as traffic, ie. with 'ST'.
  2038.  
  2039. - a finger to 'links' will shows all convers links at the system.
  2040.  
  2041. - fixed 'ftp mput' command.
  2042.  
  2043. - 'convers maxwait' sets the maximum time to wait before trying to
  2044.   re-establish a link, after convers links have timed out.
  2045.  
  2046. - you can now undefine the mail commands (S,R,K,V etc) from the mailbox
  2047.   interface, do '#undef MAILCMDS' in config.h
  2048.  
  2049. - if the first chararcter of a function key definition is the '~' char,
  2050.   the following characters will be sent to the command session, and
  2051.   NOT the current session. Command sessions becomes the active one.
  2052.   Eg. fkey 63 "~ps\n"  allows you to do a ps from any session (output
  2053.   will go to command session, wich is made active immediately)
  2054.  
  2055. - small problem with non ampr.org. domain names in domain.c (resolve_a())
  2056.   fixed.
  2057.  
  2058. - there is no limit of 10 mbox/convers-call users anymore; now only limited
  2059.   by memory resources...
  2060.  
  2061. - mailbox gateway escape char defaults to ctrl-T, to accomodate tnc's (wich
  2062.   use the formerly used ctrl-X for line editing)
  2063.  
  2064. - mailbox disconnect when sending a message and it cannot create tempfiles
  2065.  
  2066. - message numbers are now in the range 1-99999 (in smtpserv.c)
  2067.  
  2068. - 'ax25 dest' is now same as 'ax25 hearddest'
  2069.  
  2070. - tip incoming sessions fixed, go to mailbox again.
  2071.  
  2072. - even when netrom is not active, you can still set an alias callsign
  2073.   for users to connect to.
  2074.   'ax25 alias' sets or displays it. Old 'netrom alias' modifies the same call!
  2075.  
  2076. - duplicate MID problem fixed in smtpserv.c, from KO4KS
  2077.  
  2078. - ftp server tells file size before transfer starts, from N1BEE
  2079.  
  2080. - 'mbox header off' also turns off 'mbox thirdparty' !
  2081.  
  2082. - xspawn shelling modified. Seems to fix most problems.
  2083.   Known to still lock up with some ethernet drivers.
  2084.   From Brian Lantz, KO4KS
  2085.  
  2086. - OS/2 multitasking now correctly recognized, from N1BEE
  2087.  
  2088. - added pop2serv.c and pop3serv.c from N1BEE's v0.85 release.
  2089.  
  2090. - small nr4 fix from N1BEE
  2091.  
  2092. - fix for pi driver, from Dave, ve3ifb
  2093.  
  2094. - stktrace added to buffer-overwrite in sockuser.c; to help trace this.
  2095.  
  2096.  
  2097. 1.07b (921217)
  2098.  
  2099. - 'mbox motd' is gone; instead, the contents of the file /spool/motd.txt
  2100.   will be shown when users login to the bbs.
  2101.  
  2102. - 'fmotd' is gone; instead, set the ftp message of the day in the file
  2103.   /spool/ftpmotd.txt . It will be shown before the ftp login sequence starts.
  2104.  
  2105.  
  2106. 1.07  (921215)
  2107.  
  2108. - smtp client has been modified.
  2109.   'smtp t4' sets a timeout limit (in seconds) for attempts to deliver mail.
  2110.   If t4 is 0 (default), behaviour is as before (direct delivery is attempted
  2111.   to the host or mx-host.)
  2112.   If t4 is set, behaviour changes as follows:
  2113.   If a connection has not been established in t4 seconds, the mail will
  2114.   be attempted to be delivered to the 'smtp gateway' (if one is defined)
  2115.  
  2116. - pop code has been modified to hopefully eliminate potential crashes.
  2117.   (from Mike Billow, N1BEE)
  2118.  
  2119. - socklen() fixed for netrom L4. From Paul Healy, EI9GL
  2120.  
  2121. - lower case only stuff in ftp login eliminated. It is now correctly case-
  2122.   sensitive.
  2123.  
  2124. - added 'tcp blimit' to limit backoff for tcp connections.
  2125.  
  2126. - 'rip kick' added to send an immediate rip update. From Dave, ve3ifb
  2127.  
  2128. - mailbox now supports MID's on receiving and forwarding of messages.
  2129.  
  2130. - 'ftpusers' permissions can be set in hexadecimal, ie '0x32', or '50'
  2131.  
  2132. - mailbox escape checking can now be set to off in ftpusers file. Add
  2133.   #define NO_ESCAPE 65536
  2134.   to the permission for a user to have it default to no escape checking while
  2135.   gatewaying out. User can change the default. The mailbox 'E' command now
  2136.   works as follows:
  2137.   'E' shows status (ie. on/off) and escape character.
  2138.   'E arg'
  2139.         -if arg is one character, it is interpreted as the new escape char
  2140.         -if arg starts with a number, it is interpreted as the ascii number
  2141.          for the new escape char
  2142.         -else if arg starts with 'off' or 'dis' (not case ssensitive)
  2143.          then scape checking is turned off
  2144.         -anything else will turn escape checking on.
  2145.  
  2146. - 'more' and 'dir' commands now work correctly from remote sysop.
  2147.    Note that there currently is NO -more-? prompting when executed from
  2148.    remote !
  2149.  
  2150. - Forward polling added. If there are no message to be sent to the bbs,
  2151.   the system will poll the remote bbs for messages when the forward timer
  2152.   expires.  Simply add a 'P' to the end of the first line in the forward.bbs
  2153.   script. Thus the format is now either
  2154.   <bbsname> P
  2155.   or
  2156.   <bbsname> <[time]...[time]> P
  2157.  
  2158. - Extended IP access code. (usefull for gateways only)  NOTE: this is
  2159.   NOT compatible with the old version. Ie. modify your autoexec.nos !!!
  2160.   Here is the new command format:
  2161.  
  2162.   access <state> <proto> <src>[/<bits>] <dest>[/<bits>] <if> [<low> [<high>]]
  2163.  
  2164.   where:
  2165.  
  2166.   proto = {any|tcp|udp|icmp|<number>} (<number> = decimal IP protocol number)
  2167.   dest  = Destination IP address (or "any"), just like <src>
  2168.  
  2169.   The rest of the parameters are the same as before.  The port parameters are
  2170.   used only if proto is "tcp" or "udp"; they are ignored otherwise.
  2171.  
  2172.   Here are some examples:
  2173.  
  2174.   ip access permit any  192.111.106/24  all             eth
  2175.   ip access permit tcp  all             all             eth     25
  2176.   ip access permit tcp  all             all             eth     53
  2177.   ip access permit udp  all             all             eth     53
  2178.   ip access deny   tcp  all             130.137/16      eth     1       1023
  2179.   ip access deny   udp  all             130.137/16      eth     1       1023
  2180.   ip access permit any  all             all             eth
  2181.  
  2182.   Note that the new "ip access" command format is incompatable with the old.  I
  2183.   guess I could have made it backward compatable, but I thought it would look
  2184.   ugly if I did.
  2185.  
  2186.   The "ip access" command code could probably stand some additional error
  2187.   checking on parameters.  For example, only the first letter of the protocol
  2188.   is used (e.g., "ijkl" == "icmp").  If the low port is set to zero, this
  2189.   means ignore the port numbers (the same as "all" or just leaving them out),
  2190.   whereas it probably ought to generate an error.
  2191.  
  2192.  
  2193. - automatic personal information for convers users.
  2194.   When a user log in, either from mbox, convers call, or convers server,
  2195.   the Cinfo file is searched for the user name. The Cinfo file defaults to
  2196.   /finger/dbase.dat. Name and text need to be separated with a space or tab.
  2197.   Everything that follows the name will be set as the personal info.
  2198.   Note that the default file is the SAME as the finger database file !!!
  2199.   However, this can be changed with the 'Cinfo' line in the filename config
  2200.   file described below. (-f command line option)
  2201.   Eg. if the Cinfo file contains the line
  2202.   'wg7j Johan, in Corvallis, OR, USA'
  2203.   then when wg7j logs in to your server, his /p info will be set to
  2204.   'Johan, in Corvallis, OR, USA'
  2205.  
  2206. - command recall feature.
  2207.   Command are saved in a circular buffer of a size that can be set with
  2208.   'history #', eg. 'history 10', which is the default.
  2209.   'history' will show the maximum set, and the history list kept.
  2210.   'history 0' disables the feature.
  2211.  
  2212.   The up-arrow and down-arrow will cycle through old commands when in the
  2213.   command session. No editing (yet), just recall.
  2214.  
  2215. - added case-insensitivity to convers loop detection code, to handle other
  2216.   convers systems better...
  2217.  
  2218. - fixed some defines to allow MAILBOX to be undefined in config.h
  2219.  
  2220. - sockuser() 'protected' against overwriting of output buffers. System will
  2221.   write a message to the log file, and then reboot :-(
  2222.  
  2223. - mailbox forwarding R: line needs to be explicitely turned on with
  2224.   'mbox header on'
  2225.  
  2226.   This is so that regular users can forward from jnos to another system
  2227.   designated as full-service bbs, without leaving a trace of their system.
  2228.   This avoids other bbs systems marking them as a fullservice bbs.
  2229.  
  2230.   (The elements of the R: header are now optional. If not set, they will
  2231.    not show in the line, instead of show as 0 or null-strings.)
  2232.  
  2233. - some more stuff from wa3dsp:
  2234.  
  2235.   * 'prompt on|off'  - defaults to off
  2236.     Turns ON or OFF the display of the current directory at the command prompt
  2237.  
  2238.   * Commands - rename, copy, dir, cd, pwd, more, tail, del, mkdir rmdir
  2239.   now use fully qualified names based on the command session current
  2240.   directory. This directory can be ANY valid drive/directory on the
  2241.   system.
  2242.  
  2243.   The command session current buffer assumes the current directory at
  2244.   NOS startup. When 'cd' is exercised at the net prompt the ACTUAL
  2245.   dos drive and or directory are never changed. Instead the path on a
  2246.   per drive basis is stored in a structure known to the command session.
  2247.   Filenames are built into fully qualified names using the path and supplied
  2248.   name.
  2249.  
  2250.   This is the same way it is done in the FTPCLI in my previous mods.
  2251.   PLEASE advise if there are any other commands that should use this method
  2252.   that I may have missed.
  2253.  
  2254.   * Option added to MORE  - more <filename> [searchstring]
  2255.     If searchstring is specified only lines containing the string are displayed.
  2256.  
  2257.     more /spool/log bbs           - display lines in logfile with the text "bbs"
  2258.     more /autoexec.nos netrom     - display lines with text netrom
  2259.     more myfile "text to display" - if text contains spaces use quotes!
  2260.  
  2261.    * Option added to domain - domain look <searchstring>
  2262.      This is just a call to the 'more' command with the '/domain.txt' file
  2263.      specified.
  2264.         domain look 44.80.8
  2265.         domain look wa3dsp
  2266.  
  2267. - All files in nos now can be on any drive and directory. A 'file-naming'
  2268.   configuration file can be named on the command line with the -ffilename
  2269.   option. (If filename is not given, the -f option will be ignored)
  2270.   Eg:  nos -fnos.cfg
  2271.  
  2272.   The format of the config files is as shown in the accompanying nos.cfg.
  2273.   Ie. filename = directory-or-file-path, where dir-or-file-path can be any
  2274.   valid path or filename.
  2275.  
  2276.   This now allows things to be in places that optimize the speed; ie; you
  2277.   can copy certain things to ramdrives etc before running nos, and then
  2278.   use the much faster access times to improve speed...
  2279.  
  2280.   You can still use the -d option to set a new 'root' directory for nos.exe,
  2281.   but it is only usefull if used before the -f option. If you use -d,
  2282.   then you can use the -f to move some files to non-standard directories
  2283.   by simply commenting out the files you don't want moved...
  2284.   eg.   nos -d/nos -fnos.cfg    is valid
  2285.   but   nos -fnos.cfg -d/nos    causes the -d to be ignored !!!
  2286.  
  2287. - XSPAWN library (c) Whitney Software used to allow swapping out of JNOS
  2288.   when shelling to dos. This allows shelling out at all times, with a full
  2289.   size dos memory available !! Ie. Full applications can be run; JNOS is
  2290.   INACTIVE at this point!. Compile time option is XSPAWN. (MULTITASK is NOT
  2291.   available when XSPAWN is used !)
  2292.  
  2293.   Swapping is to EMS, if available, or to disk. Disk swapping is to the
  2294.   current drive. You can set a directory path to try and store the disk image
  2295.   with the new command line switch -x. (if you have ems, this isn't usefull)
  2296.         eg. nos -xc:\;d:\
  2297.  
  2298.   From the manual.doc of the xspawn code:
  2299.  
  2300.         " Each separate path specifier in the _swappath string (separated by a
  2301.         ;) can contain a drive, a directory, or both.  If you do not specify
  2302.         a drive, XSPAWN will use the current drive.  If the directory is not
  2303.         specified, XSPAWN will use the directory that is current on the
  2304.         target drive.
  2305.  
  2306.         You may be wondering why you would ever want to specify multiple
  2307.         paths.  To illustrate one use of this feature, let us say your system
  2308.         has a ramdrive called D: and a hard drive called C:.  Since writing
  2309.         to a ramdrive is many times faster than writing to a hard drive, you
  2310.         would naturally prefer to write the swap file to the ramdrive.  The
  2311.         problem is that there may not be enough space on the ramdrive to hold
  2312.         the swap file.  The _swappath string shown above would cause XSPAWN
  2313.         to try the ramdrive first and if there is insufficient space, to try
  2314.         the C: drive next.
  2315.  
  2316.         If a path does not exist, XSPAWN will skip it.  If XSPAWN can't store
  2317.         the swap file on any of the specified paths, it will return -1 and
  2318.         set errno to EACCES.  "
  2319.  
  2320.  
  2321.   According to the user policy, the complete source for the code is in
  2322.   xspawn.zip, inside the jnos107.zip source zipfile... Please read
  2323.   license.doc in xspawn.zip for more details.
  2324.  
  2325. - 'bulletin check' protected against too many forward bbs's (from Jerry, kd4cim)
  2326.  
  2327.  
  2328. 1.06B (921124):
  2329.  
  2330. - forward bug fixed; netrom forwarding works again
  2331.  
  2332. - arp display fixed
  2333.  
  2334. - rip now allows advertizing of route to yourself with the '2' flag
  2335.   (ala KarnCode) Eg: rip add 44.26.1.255 600 2
  2336.  
  2337. 1.06A (921121):
  2338.  
  2339. - cmdparse fixed to accept both tabs and spaces correctly (debugged from code
  2340.   by Mike Gallagher)
  2341.  
  2342. - twinvec.asm fixed for BC++3.1, dirutil.c for TC2.0
  2343.  
  2344. - screen sizing is now a command line option: -c# for colums, -r# for rows
  2345.   the 'stat' display now shows this, instead of 'info'. 'col' and 'row'
  2346.   commands are gone.
  2347.   IE. If your screen size is not sensed correctly, use:
  2348.   Eg: to run with 43x132 screen: nos -r43 -c132
  2349.   (note: this does not SET the video mode; your system has to be in that mode
  2350.   already !)
  2351.  
  2352. - tcp stat bug fixed.
  2353.  
  2354. VERSION 1.06 (921119)
  2355.  
  2356. - all commands setting interface flags now TOGGLE! Ie. first time the flag is
  2357.   set and the feature turned on, next time it is turned off, ad infinitum :)
  2358.   They are:
  2359.   convers port                  ax25 bport
  2360.   mbox mport                    mbox hide
  2361.   ax25 digi                     ax25 hport
  2362.   arp eaves                     arp poll
  2363.   ip hport
  2364.  
  2365. - 'tcp access' command added. Good for internet gateways. Defined with
  2366.    TCPACCESS switch in config.h
  2367.  
  2368. - IP heard logging. Turn on per interface with
  2369.   'ip hport <iface>'
  2370.   For ax.25 interfaces, logs all ip packets heard on the channel.
  2371.   For other interface types, logs ip packets that the system routed.
  2372.  
  2373.   'ip hsize' sets size of table. 0 means no limit!  Default is 8.
  2374.  
  2375.   Shown with with mailbox 'IH)eard' command, or with
  2376.   'ip heard'
  2377.   or you can now finger 'iheard' to get the list.
  2378.  
  2379. - AX25 heard logging needs to be turned ON per interface !!!
  2380.   'ax25 hport <iface>' does this. Use 'ax25 filter' still to set
  2381.   options for source or destinations. (1=no source address, 2=no dest. address
  2382.   3=no logging at all !)
  2383.  
  2384.   'ax25 hsize' sets maximum number of call in the total list (ie. NOT per
  2385.   interface !). 0 means no limit, and is the default !
  2386.  
  2387. - security hole in mailbox telnet permissions fixed.
  2388.  
  2389. - screen handling now senses the screen size correctly. Ie. you can use
  2390.   80x25,80x43, etc modes. With help from Ron Henderson, WA7TAS
  2391.   I tried to assure this works even with vga drivers that
  2392.   do not report correct sizes to the gettextmode() call (due to the fact
  2393.   that I work on a system that did this faultily :-). It's been tested
  2394.   in 80x25,80x28,80x43,80x50,132x50,132x60 modes.
  2395.   'info' will show the detected tty size.
  2396.  
  2397.   On some systems this still doesn't detect the screen size correctly;
  2398.   if so, set the number of rows and columns on you screen in the autoexec.nos
  2399.   file with 'rows #' and 'columns #' commands (this does NOT work from
  2400.   the command line !!!)
  2401.  
  2402.  
  2403. - new arp subcommands:
  2404.   'arp eaves [<iface>]'
  2405.   Display or set the 'arp eaves drop' functionality per interface.
  2406.   If set, all arp replies overheard on the interface will be logged in the
  2407.   arp table. This builds a large table on ethernet interfaces, but speeds up
  2408.   arp discovery, and might be usefull on radio interfaces.
  2409.  
  2410.   'arp maxq'
  2411.   Display or set the max number of packets waiting for an arp resolution
  2412.   to finish. Default is 5 packets.
  2413.  
  2414.   'arp poll [<iface>]'
  2415.   Display or set the 'arp keepalive polling' functionality per interface.
  2416.   If set, when an arp entry expires, a query will be sent for the address; this
  2417.   keeps the arp table fresh, but possibly retains lots of unneeded entries.
  2418.  
  2419.   'arp sort y/n', defaults to yes, to sort the arp display.
  2420.   (from Doug Crompton, wa3dsp)
  2421.  
  2422. - Added the PACKETWIN driver, for the Gracilis Packetwin Card.
  2423.   To use, define the 'PACKETWIN' option in config.h
  2424.   (Disclaimer: I have NOT tested this, but others have used it with my code :-)
  2425.  
  2426. - Added Doug Crompton's (wa3dsp) mods:
  2427.   route sort y/n
  2428.   tcp view bytes  - t v b
  2429.   tcp view timers - t v t
  2430.   icmp trace 0|1|2
  2431.   rdate server <ipaddress>
  2432.   rdate offset +-n
  2433.   'ftp' client commands: ?,help,lcd,ldir, and lmkdir (See w7jmods.txt for more)
  2434.   'dir' allows for drive letters.
  2435.   'ftp resume/rput' (see wg7jmods.txt)
  2436.  
  2437. - mbox 'IP' command shows non-private routes only.
  2438.  
  2439. - morecore failures are only logged to disk when 'mem debug' is on
  2440.  
  2441. - added nntpserv.c from Doug Crompton, WA3DSP
  2442.  
  2443. - fixed fifo setup for 16550's
  2444.  
  2445. - increased stack size for finger and ttylink servers to fix overflow problems
  2446.  
  2447. - forward connects to unknown netrom nodes now fail.
  2448.  
  2449. - fixed arp-calls in ax25aar.c
  2450.  
  2451.  
  2452. VERSION 1.05 (921021)
  2453.  
  2454. - at command allows events to be killed, and rescheduled. From Ron Henderson,
  2455.   WA7TAS.
  2456.   'at k <#>' to kill event #, where # is the number shown in the 'at' command
  2457.   'at [time] command+' to indicate recursion. Ie. after the command has been
  2458.   executed, timed execution will be started again.
  2459.   EG: at now+0005 dir+   will show a directory listing every 5 minutes
  2460.  
  2461. - fixed mkname.c for compile with tc2.0
  2462.  
  2463. - added domain name server fix for CNAME queries, from Don Sandstrom, KG7CP.
  2464.  
  2465. - new and improved tipmail.c from Milton Miller and Ben Thornton.
  2466.  
  2467. - asy flow control bug fixed in asytimer() (file i8250.c)
  2468.   from Milton Miller and Ben Thornton
  2469.  
  2470. - made 'Tick' volatile, to avoid problems. From Milton and Ben.
  2471.  
  2472. - when netrom routes are dropped, either due to obsolesence counter becoming
  2473.   zero or by a manual route drop, netrom connections using that route will
  2474.   now be be purged if that route was the only route left to the netrom
  2475.   destination.
  2476.  
  2477. - 'netrom connect' and 'netrom split' don't accept unknown node destinations
  2478.   anymore.
  2479.  
  2480. - 'MS' display changed; now has
  2481.   Core: 76096                   -> coreleft value in bytes
  2482.   Up: 3:19:46:59                -> up 3 days, 19 hours
  2483.   Logins: 49                    -> 49 total logins
  2484.   Users: 2                      -> currently 2 users
  2485.   Count: 19                     -> 19 different users have logged in
  2486.   Sent: 43                      -> users sent 36 messages
  2487.   Read: 186                     -> users read 186 messages
  2488.   Rcvd: 171                     -> got 171 msg forwarded to us
  2489.   Fwd: 124                      -> forwarded 124 message to other bbs's
  2490.  
  2491. - added 'finger database server'; the finger server now will read info
  2492.   from the file '/finger/dbase.dat', if there is no '/finger/username' file.
  2493.   Ie. if you finger 'johan@wg7j', and the file '/finger/johan' exists,
  2494.   it will be sent; if the file '/finger/johan' does NOT exist, the
  2495.   '/finger/dbase.dat' file will be scanned (exists.)
  2496.   The first line found in this file that starts with the 'username' requested,
  2497.   ie here 'johan', will be sent...
  2498.   EG: the '/finger/dbase.dat' file can contain:
  2499.   johan: WG7J, Corvallis, OR USA, ph.xxx-xxxx. EXTRA CLASS
  2500.   ka7ehk is Jim Wagner, in Tangent, OR. Technician license since 1795 :)
  2501.   etc...
  2502.   NOTE:
  2503.   if you have a line starting with 'johannes', a finger to 'johan' will show
  2504.   this line if it's the first !
  2505.  
  2506. - added  'copy <file> <newfile>' command.
  2507.  
  2508. - added 'timed' support, from Brian K. Teravskis, WD0EFL
  2509.  
  2510. - fixed buf in send_ax25() and send_nr4(), not freeing buffer if control
  2511.   block is invalid.
  2512.  
  2513. - display flowmode doesn't start until after the autoexec.nos file has been
  2514.   executed. Avoids lockups on remote systems.
  2515.  
  2516. - fixed forwarding with empty subject line in msg; now subject is "none".
  2517.  
  2518. - fixed '*** done' interpretation in forward.c (looking for -2 instead of 2!)
  2519.  
  2520. - bbs forwarding now can be 'scripted'. Format of forward.bbs file is expanded:
  2521.  
  2522.   w0rli                 <- still the bbs to forward to
  2523.   ax25 ax0 w0rli        <- still how to forward to
  2524.   [ multiples of:
  2525.   .send this text
  2526.   +continue if this string is received
  2527.   @wait_this_long for a reply  ]
  2528.   w0rli                 <- the areas to forward...
  2529.   pnw
  2530.   north
  2531.   -----------           <- end of this entry
  2532.  
  2533.   Valid connect-script lines are:
  2534.  
  2535.   '.' lines are like before. The text following will be sent over the
  2536.         connection.  This line doesn't need to contain text. In that case,
  2537.         a <cr> only gets send.
  2538.         NOTE: This will also reset the '+'  reply search string to null!
  2539.  
  2540.   '+' lines set a reply string to search for when a line is being received
  2541.         with the @ command.
  2542.  
  2543.   '@' lines set a timeout in seconds in wich to receive a line over the
  2544.         connection. This is the maximum time the system will
  2545.         wait for a reply. At this point, an attempt is made to receive a line
  2546.         from the connection in the time specified.
  2547.         If nothing is received after the timeout time, forwarding for this
  2548.         entry is cancelled.
  2549.         If something is received, and a search string set with the + command,
  2550.         forwarding will be continued only if the search string appears
  2551.         somewhere in the line received.
  2552.         If the search string was not set, forwarding is continued.
  2553.  
  2554.         NOTE: if the value after @ can not be converted to a number, the
  2555.         default is 90 seconds.
  2556.         NOTE: the search string is reset if forwarding continues after the
  2557.         @ command.
  2558.  
  2559.  
  2560.    You can have as many of these lines to establish a connection. They need
  2561.    not be in any particular order.
  2562.  
  2563.    CAVEAT:
  2564.    Replies from the connection need to be full lines; ie they have to be
  2565.    terminated by a proper end-of-line sequence. This means you can not wait
  2566.    for the login prompt from a NOS system, since those are NOT terminated
  2567.    with a end-of-line sequence. (see the examples)
  2568.    You need to know the EXACT reply from systems you connect through.
  2569.    Each @ command reads only one line of data from the connection (if
  2570.    any, offcourse). This means that if a system replies multiple lines
  2571.    after a connection is made, you need multiple @ commands. (see the
  2572.    examples below). This makes it hard to connect via systems that can
  2573.    have varying replies, like NOS systems that do not have your system
  2574.    marked as a BBS, and thus will send welcome messages and varying
  2575.    message-of-the-day etc...
  2576.  
  2577.  
  2578. Some examples:
  2579.  
  2580. 1- a connection via a netrom neigbour:
  2581.         w0rli
  2582.         ax25 ax0 k7uyx-1        <- initial connection to netrom node
  2583.         .c rlimb                <- ask for a netrom connect from this node
  2584.         +Connected              <- if we don't get this, things went wrong
  2585.         @60                     <- maximum one minute wait !
  2586.         w0rli                   <- forward these areas...
  2587.         pnw
  2588.         allor
  2589.         ---------
  2590.  
  2591. 2- a connection via a JNOS system .
  2592.    This assumes that you are marked as a BBS at the JNOS system, so that
  2593.    you only get a '[JNOS...] and '>' prompt...
  2594.  
  2595.         n7dxt
  2596.         ax25 iposu              <- initial connection to the JNOS system
  2597.         +[JNOS                  <- wait for sign-on message from the JNOS box
  2598.         @15                     <- don't wait longer then 15 seconds
  2599.         +>                      <- wait for the prompt
  2600.         @15                     <- wait 15 seconds at the most
  2601.         .c ax0 n7dxt            <- next, request a gateway connect
  2602.         +Trying                 <- NOS replies it's trying...
  2603.         @15                     <- wait 15 secs max.
  2604.         +Connected              <- wait for 'IPOSU:WG7J-3} Connected to N7DXT'
  2605.         @60                     <- wait 60 secs max
  2606.         n7dxt                   <- send these following areas
  2607.         pnw
  2608.         allor
  2609.         ----------
  2610.  
  2611. 3- A connection to a JNOS system, and from there a telnet to a remote bbs
  2612.    (again, assumes your system is marked as a bbs !)
  2613.  
  2614.         wg7j
  2615.         ax25 con iposu          <- initial connection to JNOS
  2616.         +[JNOS                  <- sign-on from JNOS
  2617.         @15                     <- shouldn't take too long
  2618.         +>                      <- next is the prompt
  2619.         @15                     <- not too long either
  2620.         .t wg7j.ampr.org.       <- ask for a telnet connect
  2621.         +Trying                 <- JNOS is trying
  2622.         @15                     <- should come pretty soon
  2623.         +connected              <- wait for '*** connected to xxx'
  2624.         @45                     <- might take a while
  2625.         @30                     <- wait for another (blank) line
  2626.         +NOS                    <- now come the telnet sign-on message
  2627.         @30                     <- wait for this
  2628.         @30                     <- after this is a blank line, wait for it
  2629.         .w0rli                  <- now we get 'login:' and "Password:" prompts,
  2630.         .whomever               <- but they have no <cr>'s, so just answer
  2631.         sysop                   <- we're there, forward these areas.
  2632.         allor
  2633.         wg7j
  2634.         pnw
  2635.         nos
  2636.         ------
  2637.  
  2638. - '/sounds y|n' in convers added. This turns the bells on or off.
  2639.   Ie. if you don't want the bell if new users log on, do a '/s n' after
  2640.   you logon.
  2641.  
  2642. -'mbox hideport [<iface>]'
  2643.  Set or show the 'hide' flags on interfaces. If this flag is set, the mailbox
  2644.  'P' command will not list this interface for ax.25 connection, unless the user
  2645.  has sysop priviledges.  AX.25 gateway connections are also dis-allowed,
  2646.  unless the user has sysop privs. (This is good for stuff like forward-only
  2647.  ports, etc...)
  2648.  
  2649. - fixed scanning of the '/p' command in convers server.
  2650.  
  2651. - smtp server accepts messages to areas with sub-directories.
  2652.  Eg. you can now receive mail for rec.radio.packet, or
  2653.  test/toys, or rec\ham
  2654.  These messages will be placed in the right subdirectory under /spool/mail.
  2655.  CAVEAT: the subdirectory HAS TO EXIST when the mail is received!! It
  2656.  is not created.!!!
  2657.  (Ie. int the above, /spool/mail/rec/radio, /spool/mail/test have to exist!)
  2658.  
  2659. - mailbox keeps track of new mail in areas since user last logged out.
  2660.  If 'mbox newmail on', user will get notified on login wich areas have
  2661.  new mail. New mbox 'AN' command gives the same information.
  2662.  (default is on)
  2663.  
  2664. - the interface flag field, as shown in the 'ifconfig' command,
  2665.   has more use. It's bits have the following meanings:
  2666. #define CONNECT_MODE    1   /* Send datagrams in connected mode */
  2667. #define IS_NR_IFACE     2   /* Activated for NET/ROM */
  2668. #define NR_VERBOSE      4   /* NET/ROM broadcast is verbose */
  2669. #define IS_CONV_IFACE   8   /* Activated for conference call access */
  2670. #define AX25_BEACON     16  /* Send AX.25 beacons */
  2671. #define MAIL_BEACON     32  /* Send MAIL beacons */
  2672. #define HIDE_PORT       64  /* Don't show port in mbox P command */
  2673. #define AX25_DIGI       128 /* Allow digipeating */
  2674.  
  2675. - convers configuration is now done with commands, and not the convers.cfg
  2676.   file any more. New 'convers' command has subcommands :
  2677.  
  2678.   allow [ipaddres|hostname]
  2679.         - if set, only hosts in this list will be allowed to link to us
  2680.           This does NOT effect regular users.
  2681.           Host to allow can be set with multiple 'convers allow' commands
  2682.           Typing 'convers allow' shows the hosts to allow.
  2683.  
  2684.   hostname [name]
  2685.         - set or show the convers host name as announced to users and
  2686.           across links. 10 chars max. When the 'hostname' command is
  2687.           executed, the 'convers hostname' is automatically set to the
  2688.           10 first chars of it, and if '.' are found from the right,
  2689.           they terminate the string.
  2690.  
  2691.   interface [<iface>]
  2692.         - activate interface <iface> for ax.25 convers call connections.
  2693.          with no argument will show active interfaces.
  2694.  
  2695.   mycall [call]
  2696.         - set or show the ax.25 convers call.
  2697.  
  2698.   link  [<hostname|ip-address>] [linkname]
  2699.         - add a convers link to the system at hostname or ip-address.
  2700.           linkname is optional, and sets the name of the link.
  2701.           (It will be replaces once the remote systems announces it's
  2702.           true name...)
  2703.  
  2704.   t4 <seconds>
  2705.         - set or show the ax.25 t4 timeout value for conference call
  2706.           connections. Default is 7200, ie 2 hours.
  2707.  
  2708. - user permission bit to disallow convers access from mailbox or
  2709.   from convers call.
  2710.   #define NO_CONVERS 32768
  2711.   If set, user will not be allowed to give the 'C' command, or connect
  2712.   to the convers call.
  2713.  
  2714. - fixed double <cr> bug in convers personal data across links. Also fixed
  2715.   month display in links-listing.
  2716.  
  2717. - 'netrom verbose' is gone. 'netrom interface' now defaults to none-verbose
  2718.   and the additional 'v' makes it verbose. EG:
  2719.   netrom interface ax0 192      -> non-verbose broadcasting
  2720.   netrom interface ax0 192 v    -> verbose broadcasting
  2721.  
  2722. - 'ax25 confcall' and 'ax25 ct4' are gone. See above.
  2723.  
  2724. - 'ax25 digipeat [<iface>]' now shows or sets digipeating per interface.
  2725.   All interfaces default to no digipeating when first attached !
  2726.  
  2727. - new 'ax25 bcport [<iface>]' command. Sets or displays the ports that
  2728.   ax.25 beacons are sent out on. You need one for each interface you want
  2729.   to beacon on. Eg:
  2730.   ax25 bcport ax1
  2731.   ax25 bcport vhf
  2732.   (beacon interval and text are still set with 'ax25 bcinterval' and
  2733.    'ax25 bctext')
  2734.  
  2735. - new 'mbox mport [<iface>]' command. Sets or displays the ports that
  2736.   'Mail for:' beacons go out on. You need one for each interface you want the
  2737.   mail-beacon to be sent out. Eg:
  2738.   mbox mport ax1
  2739.   mbox mport vhf
  2740.  
  2741. - new 'mbox sendquery'. If set, the mailbox will send a query to ask users
  2742.   if they really want to send the mail after they've type the /ex
  2743.   A 'N' or 'n' response will abort the message at that point. The user will
  2744.   be notified the message was aborted by a 'Mgs aborted' message.
  2745.   (default is on)
  2746.  
  2747. - forwarding is now a server-process. Start with 'start forward'.
  2748.   Timer is still set with mbox timer command.
  2749.   (this and a few other things from Milton Miller, kb5tkf and
  2750.    Ben Thornton, wd5hls)
  2751.  
  2752. - fixed bug in forward.c that would forward with Mycall as the node call,
  2753.   instead of the netrom call. Caused problems if Mycall != Netromcall
  2754.   (with help from Milton Miller)
  2755.  
  2756. - AX.25 Paclen can now be set on a per-interface basis.
  2757.   'ifconfig <iface> paclen <num>' will do the trick.
  2758.   (this is good for HF, where you want a small paclen !)
  2759.   Default is the 'ax25 paclen' value (ie. 256)
  2760.  
  2761.   NOTE: If the interface is activated for NETROM, setting this will also
  2762.   effect the 'netrom mtu' value. It will be set to (smallest paclen) - 20.
  2763.   If this is > 236, the netrom mtu will be 236 (the protocol maximum!).
  2764.   Eg: if you have a HF port with paclen of 64 and active with netrom,
  2765.   and another VHF port active with netrom and with paclenof 256, then
  2766.   netrom mtu is 44 and 'ifconfig netrom' will show this !
  2767.   You can override this automatic assignment with 'ifc netrom mtu <num>',
  2768.   but BE AWARE of fragmentation problems that will occur if you run this
  2769.   over an interface with a smaller paclen then netrom-mtu + 20 !!!
  2770.   (You get ax.25 V2.1 fragmentation, and Thenet, BPQ. MSYS etc can NOT handle
  2771.    this! NOS and it's derivatives are the only one that can handle this !!!! )
  2772.  
  2773. - Setting the netrom mtu now also works for netrom data! (it was originally
  2774.   intended for IP over NETROM use; however, both user data and IP packets are
  2775.   just data for the netrom protocol, so who cares :) Previously, everything
  2776.   pertaining to NR4 data was hardcoded to 236 bytes max, and would result in
  2777.   AX25 V2.1 fragmentation if paclen < 256, NO MATTER what.
  2778.   In NR4.C, send_nr4() now chops packets larger then netrom mtu into
  2779.   multiple smaller ones, thus preventing ax.25 V2.1 fragmantation.
  2780.   (see also 'ifconfig iface paclen' above !)
  2781.  
  2782. - AX.25 connection calls are now on a per-interface basis. Ie. you can have
  2783.   the same two calls with connection on two different interfaces:
  2784.   wg7j-3  <->  ka7ehk  on ax0 , and  wg7j-3  <-> ka7ehk  on ax1 now works.
  2785.  
  2786. - 16550 fifo trigger level can be set from attach command. Valid values are
  2787.   1,4,8 or 14. If you use this, the 'f' option is now mandatory !
  2788.   Add the trigger level following the 'f' or as an additional argument. EG:
  2789.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f8' or
  2790.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f 8'
  2791.  
  2792. - bbs forward loop detection added. Ie. when you receive a message that you've
  2793.   forwarded already, there is a forward loop. New 'bulletin loophold' command
  2794.   shows or sets the number of loops after wich to hold a message. 0 disables
  2795.   it, and is the default. Eg. 'bul loop 2' will hold any message that has 2 of
  2796.   your R: headers in the message when it is received. Loop-held messages get
  2797.   an additional header, 'X-BBS-Hold: Loop'.
  2798.   Currently, the sysop is NOT notified of the held message. However, they show
  2799.   up with the common 'H' as the type of the message in the List display.
  2800.   Messages marked 'H' can only be read by users with sysop priviledges, wether
  2801.   that message is in a user's private mail area or not. (This is jumping ahead
  2802.   of possible message contents scanning and holding)
  2803.  
  2804. - stktrace() from the new KA9Q sources added. This is currently only used
  2805.   for invalid free() calls. For each invalid free, it will show a trace of
  2806.   where the call came from. This should facilitate debugging.
  2807.   The 'test' command demonstrates it. Output is in the file stktrace.out.
  2808.   -> You need to have the map-file (nos.map) in the current directory !
  2809.   If you have invalid frees showing in the 'mem stat' command, and you have
  2810.   stktrace.out output, please send me a copy of that file. That will allow
  2811.   me to try and figure out what happened.
  2812.  
  2813. - netrom default round-trip-time increased to 45 seconds.
  2814.   (15 seconds is pretty unrealistic for a loaded 1200bd network :-)
  2815.  
  2816. - minor delinting and convers bug fix by Mike Gallaher, wa3hee
  2817.  
  2818. - incoming ttylinks do not create a session if system is unattended
  2819.  
  2820. - smtp server checks Message-Id's for possible duplicate BID's
  2821.   If found, message is accepted, but not delivered.
  2822.  
  2823. - mailbox disconnects on any '***' command, except '*** linked to' (bug fix)
  2824.   '*** linked to' should now work with any format, including texnet.
  2825.  
  2826. - conference connection sockets are put into no-block mode, this solves
  2827.   the data backlog problem that bogs the system down.
  2828.   (it will still fill up the tx buffer (even beyond the window size),
  2829.   but the send_mbuf() call will not block anymore).
  2830.  
  2831. - fixed conference access via mailbox inactivity timeout problem.
  2832.   Same with mailbox 'D', and 'W' commands.
  2833.  
  2834. - All tcp connections allow verbose ip ports. Currently allowed are
  2835.   "convers","telnet", and "ttylink". This is case sensitive, but you don't
  2836.   need the whole name. First lettter (for convers and telnet), or first
  2837.   two (ie. tt for the ttylink port) is enough.
  2838.   Eg. to telnet to the conference server with a split screen, do
  2839.   "ttylink <hostname> convers" (this is the same as "ttylink <hostname> 3600").
  2840.   This also work from the mailbox: 'T wg7j.ampr.org. convers'
  2841.  
  2842. - added split screen options for ax.25 and netrom connects (if compiled in)
  2843.   New command "split <iface> <call>" is same as "connect", but with S.S.
  2844.   New command "netrom split <node>" is same as "netrom connect" but with S.S.
  2845.   (Remember: you can do S.S. telnet's with the 'ttylink' command, by adding
  2846.    the telnet port number! (see also above))
  2847.  
  2848. - ax25 route commands now takes interface. This allows different digi paths
  2849.   per interface ! Eg. MAIL beaconing:
  2850.   if you want to digi via different nodes on different interfaces...
  2851.   'ax25 route add mail ax0 kf7dq-1'
  2852.   'ax25 route add mail ax1 wg7j-3'
  2853.  
  2854. - arp add/drop/publish now take interface.
  2855.   'arp add wg7j.ampr.org. ax25 wg7j-3 ax0'
  2856.   'arp drop 44.26.0.162 ax25 ax2'
  2857.   'arp publish gw.wg7j.ampr.org. ax25 wg7j-2 ax1'
  2858.  
  2859. - timer process is modified, fixes some timing with PI, SCC and other things.
  2860.  
  2861. - mailbox accepts and handles <del> chars (0x08) (from wa7tas).
  2862.  
  2863. - mailbox areas with more then maxmsg messages now allow reading of first
  2864.   maxmsg messages.
  2865.  
  2866. - fingers to the system now show the 'last connected' info for the requeste
  2867.   user, if exists. After this, the finger file (if exists) will be shown,
  2868.   as usual.
  2869.  
  2870. - remote sysop 'dir' and 'more' commands work, but without more-prompting.
  2871.  
  2872. - 'netrom hidden [on|off]' enables or disables showing of hidden nodes in
  2873.   the N display
  2874.  
  2875. - 'netrom interface' allows changing parameters for already active interfaces
  2876.  
  2877. - Tracing on AXIP interfaces now also works on receive (ie. input)
  2878.  
  2879. - fixed command line expression passing in .asm files for BC++3.1
  2880.  
  2881. - new mkname.c and other stuff for BC++3.1 from n1bee.
  2882.  
  2883. - nr4 ack bug, kiss-ioctl bug fixes per n1bee.
  2884.  
  2885. - netrom bcpoll <ifname>, will poll other systems running jnos1.05(or later)
  2886.   or dataengine's running jnos40 to send a routes broadcast. Speeds up route
  2887.   discovery...
  2888.   Eg. add this to the autoexec file for each activated netrom interface.
  2889.   This was primarily written for the DataEngine code, that doesn't have the
  2890.   'netrom load' from disk capability.
  2891.  
  2892. - tcp retries 0, resets to original KA9Q behaviour, ie no retry max.
  2893.  
  2894.  
  2895. VERSION 1.04 (920805)
  2896.  
  2897. - at command now takes minutes only too; format 'at mm <cmd>'
  2898.  
  2899. - format of /convers.cfg has changed:
  2900.   localname             -> still the local convers name
  2901.   name moot hostname
  2902.   name2 moot hostname2
  2903.   etc.
  2904.   where 'name' and 'name2' are the names of the convers links to put in.
  2905.   'moot' can be anything, but needs to be there for compatibility reasons
  2906.   (previously it had to be 'telnet' but that is the only thing accepted and
  2907.    is now hard coded (saved code))
  2908.   'hostname' is optional, and if defined, it is the hostname that will be used
  2909.   first to resolve the ip address of the host to link to. If 'hostname' can
  2910.   not be resolved, then 'name' will be used as previously.
  2911.   Eg:
  2912.   Corvallis whatever jnos.wg7j.ampr.org.
  2913.   This will try to link to jnos.wg7j.ampr.org. first, if that isn't a valid
  2914.   address, then it will try to link to 'Corvallis'
  2915.  
  2916. - added convers '/personal' command to show some info. Up to 30 chars will
  2917.   be shown in the users display (/w command).  This info also travels across
  2918.   links to compatible servers (ie servers running jnos1.04 or later).
  2919.   eg '/p Johan in Corvallis, OR'
  2920.  
  2921. - convers hostname can be 10 chars now (instead of 8 previously).
  2922.   Be carefull if you link with other server running older, noncompatible
  2923.   code; it is wize to keep it down to 8 chars in that case...
  2924.  
  2925. - added convers loop detection code, from dl9sau
  2926.  
  2927. - bug in convers code that didn't free the socket of a failed link
  2928.   attempt is fixed.
  2929.  
  2930. - separate ax.25 conference call added, with separate t4 timer.
  2931.   If set, connections to this call dump the user directly into the
  2932.   conference bridge. New 'ax25 confcall' and 'ax25 ct4' commands.
  2933.  
  2934. - new commands 'write' and 'writeall' to send message to users.
  2935.   'write' takes either socket # or mailbox username, and message
  2936.   and 'writeall' takes message and sends it to all mailbox users
  2937.   Eg: 'write 131 test'  'write wg7j "testing messages"' or
  2938.   'writeall test'  'writeall "testing messages"'
  2939.  
  2940. - socket display (eg. 'so 131') now shows socket creation time
  2941.  
  2942. - Added tcp retry timeout from iw0cnb. New 'tcp retries' command.
  2943.   Will reset tcp connections after too many retries.
  2944.  
  2945. - commented out some non-used code in the socket interface (AX25_UI sockets)
  2946.   (saves 1.5k :-) )
  2947.  
  2948. - New mailbox rewrite rule:
  2949.   mail rewritten to 'refuse' is refused from the mailbox with a 'NO' or
  2950.   'Bad host' reply.
  2951.  
  2952. - Upped the maximum number of netrom and axip interfaces to 16
  2953.  
  2954. - 'netrom interface' shows active netrom interfaces
  2955.   (verbose flags: v - yes, n - no, and f - according the verbose setting)
  2956.  
  2957. - tcp connect requests (Syncs) are refused if low memory, and
  2958.   socket() call will fail if memory low.
  2959.  
  2960. - AX.25 source call logging now correctly logs outgoing call, instead
  2961.   of interface call. (ie. gateway users will show up in list!)
  2962.  
  2963. - conference bridge access from mailbox is not via telnet connection
  2964.   anymore, but direct. Is faster and saves 2 sockets, 1 process and
  2965.   lots of system overhead. Convers.c has been cleaned up a bit too.
  2966.  
  2967. - added check in telnet login procedure for valid (Dos-filename) login name
  2968.  
  2969. - all memory address displays have dropped the '0008'. All commands involving
  2970.   memory  addresses do not accept the '0008' anymore.
  2971.  
  2972.  
  2973. VERSION 1.03 (920701)
  2974.  
  2975. - 'mbox tmsg' command. Shows or sets the 'telnet msg', that is
  2976.   shown to incoming telnet users before the login: prompt
  2977.   eg. mbox tmsg "Please use your call to login. Thank you"
  2978.  
  2979. - Domain Name Server code added. Start with 'domain startdns'
  2980.   Does not support multiple queries per frame, does not support
  2981.   authority and additional rr's in the reply.
  2982.   Always gives non-authoritative replies.  Has been tested to
  2983.   work with A,CNAME,MX,PTR,HINFO,SOA,NS queries. If other remote servers
  2984.   have been configured, if needed they will be used to resolve queries.
  2985.  
  2986. - 'netrom interface' changed:
  2987.   syntax is now 'netrom interface ifname ### [n|v]'
  2988.   where ifname is the interface name to attach
  2989.   ### is the route quality, 0-255
  2990.   and 'n' or 'v' is optional overriding of the verbose setting.
  2991.   If 'n' is given, the route broadcasts on the interface are none-verbose
  2992.   if 'v' is given, they are verbose.
  2993.   These 2 override the verbose flag !! Ie. if verbose is off, but the
  2994.   interface flag is verbose, all routes are broadcast.
  2995.   If no option is given, the verbose flag is used...
  2996.  
  2997.   This allows verbose broadcasts on axip interfaces, but keeps all the remote
  2998.   nodes off the local lan by disabling verbose broadcasts on that interface.
  2999.  
  3000. - users don't need telnet-permissions anymore for C,CA, and O
  3001.  
  3002. - KU will undelete messages marked for deletion
  3003.  
  3004. - 'L<' searches the 'From:' field
  3005.  
  3006. - a finger to 'conf' will show the conference bridge users (if configured)
  3007.  
  3008. VERSION 1.02 (920615)
  3009.  
  3010. - bugfix for recording of telnet session by Ron, vk6zjm added
  3011.  
  3012. - POP2 and POP3 from was0206 and gri-2.0j was added.
  3013.  
  3014. - userlogging works now also for any mailbox starting with "sys",
  3015.   even if not an area; this allows sysops to read sysop-mail from
  3016.   private areas, and have the system keep track of last read msg.
  3017.  
  3018. - the mailbox 'A' command will show the area names only, NOT
  3019.   the descriptions. To show descriptions, type AF
  3020.   Comments in /spool/areas now NEED TO START with a '#' char...
  3021.   and are only shown in the AF form of the command
  3022.  
  3023. - code to restore 16550 fifo status added (from Bill Simpson)
  3024.  
  3025. - ftp message of the day, modified from Max (iw0cnb).
  3026.   Set/show with 'fmotd' command
  3027.  
  3028. - mailbox (L)ist display has been changed a bit to show the To: field
  3029.   of messages.
  3030.  
  3031. - new mailbox 'L>' command allows searches in the To: field of messages
  3032.   (NOT case sensitive!)
  3033.   eg: 'L> test' will show messages with To: fields of:
  3034.   test@allusa, TEST@somewhere, all@testing.usa, ...
  3035.  
  3036. - expanded mailbox 'ML' command :
  3037.   'ML'       -  lists all past logins since startup
  3038.   'ML n'     -  lists last n logins since startup
  3039.   'ML call'  -  gives last login date/time for call
  3040.  
  3041. - new mailbox 'Move Message' command for sysops:
  3042.   'MM name' moves the current message to mailbox file 'name'
  3043.   'MM n[...] name' moves message n to mailobx file 'name'
  3044.   eg:
  3045.   MM 1 3 4 newarea
  3046.   (Moves messages are deleted in current mailbox file)
  3047.  
  3048. - 'New mail' messages only print to the command screen
  3049.  
  3050. - userlog code now also works during 'R' command
  3051.  
  3052. - mailbox 'SR' doesn't generate a Cc: to the original message To: addressee
  3053.  
  3054. - user default logging added; keeps track of last time logged-in/out,
  3055.   state of XM,XA and XN commands, and how last connection was made.
  3056.   gets read at login and restores values that existed at last logoff.
  3057.  
  3058. - in mailbox send, the rewrite result 'To:' is only shown to sysops
  3059.  
  3060. - new command XN to toggle the netrom id prompt.
  3061.  
  3062. - deleted the masking of chars with 0x7f, to allow international
  3063.   character sets to pass correctly (in ttydriv.c and telnet.c)
  3064.  
  3065. - disallow attaching of axip interfaces with names longer then 6 chars
  3066.   This is needed for the gateway code to work correctly (inherent to the
  3067.   socket internals)
  3068.  
  3069. - fixed bug in the Bye command that would reset the last read message
  3070.   to 0, if nothing was Listed in the last area
  3071.  
  3072. - netrom inactivity timeout disconnection was not working properly in 1.01
  3073.   (wrong timer configured). This is now fixed...
  3074.  
  3075. - refusing of new connections when memory is low is now done
  3076.   in the protocol modules for netrom (nr4.c) and AX.25 (lapb.c)
  3077.  
  3078. - when a nodes-broadcast from a previously unknown netrom
  3079.   neighbour is heard, the system send a nodes broadcast too.
  3080.  
  3081. - new mailbox 'XA' command; toggles showing of the current area
  3082.   with the mailbox prompt. Defaults to on.
  3083.  
  3084. - fixed bug that prevented areas in subdirectories from being accessed
  3085.   (in mlock() and rmlock() functions). This affected systems using nntp
  3086.  
  3087. - modified the nntp client in nntpcli.c to be compatible with my userlog code
  3088.   (added a "Received:" line to articles)
  3089.  
  3090. - message expiry code can now handle both the 'mailbox' style
  3091.   (ie. "Tue, 14 Apr 92 15:11:07") and the 'nntp' style date
  3092.   line (ie. "14 Apr 92 15:11:07").
  3093.   (so it *should* now work with the nntp client; still NOT tested though!)
  3094.  
  3095. - mailbox forwarding: anything that came in with a bid goes out with a bid.
  3096.   Thus now 'SP sysop@blah $bid' goes out with $bid unlike before.
  3097.  
  3098. - when 'bulletin date' is on, "Date: " now only shows the date,
  3099.   no more the  "BBS, ".
  3100.  
  3101. - added st_garbage() fix in sockutil.c
  3102.  
  3103.  
  3104. VERSION 1.01 (920408)
  3105. ************
  3106.  
  3107. - any user can delete messages in any area that starts with "nts".
  3108.   Thus users can delete nts traffic, without having to give them
  3109.   permission to delete everything.
  3110.   Eg: I rewrite all nts stuff i can deliver to the area 'ntslocal'
  3111.   User's can now delete these messages after delivery.
  3112.   All other traffic (ie. not for my area) i rewrite to 'nts' to
  3113.   be forwarded elsewhere. However, 'nts' is NOT an area, so regular
  3114.   users can't touch it (You could also use 'traffic' or whatever
  3115.   else suits you...)
  3116.  
  3117. - plain 'netrom route info' gives info for all routes
  3118.   mailbox 'N *' does the same; from Doug Crompton.
  3119.  
  3120. - telnet login's get 3 tries max to be validated; ctrl-d as the first
  3121.   char will exit the login-procedure.
  3122.  
  3123. - support for the BuckMaster CDRom ham-call database has been added;
  3124.   it compiles just fine, but this has NOT been tested !!
  3125.   (check the compile switches in config.h; not in the standard
  3126.   distribution)
  3127.   The commands for this are 'callbook','callserver2','cdrom',
  3128.   'start callbook' and 'stop callbook'
  3129.   This code comes from KB7YW, taken out of SS_NOS sourcecode,
  3130.   and is provided as is...
  3131.  
  3132. - fixed memory leak with mailbox finger, and overwrite problem
  3133.   with the 'whereto' variable.
  3134.  
  3135. - mkname.c now works with tc2.0, bc2.0 and bc3.0, from Ron Henderson, wa7tas
  3136.  
  3137. - smtp lzw is a more robust; from pa0gri 2.0f
  3138.  
  3139. - tipmail.c timer problem fixed; from ke9yq
  3140.  
  3141. - Function key session switching ! (modified a bit from WNOS3 sources)
  3142.   If the function keys F1-F8 are not defined, they will switch you to
  3143.   the session of that number; eg F3 will switch to session 3 !
  3144.  
  3145. - tracing to a session. Function key F-9, if not re-defined with an fkey
  3146.   command, switches to it from any other session. (it actually toggles;
  3147.   ie you can switch between trace and current session by pressing F9)
  3148.   Session tracing defaults to on.
  3149.   Trace output is only printed in this session when it is the active one.
  3150.   Tracing to file currently disables output to the session.
  3151.   Tracing can be set to go to the command screen with 'strace off' command.
  3152.   (Sometimes you want to see what's going on while you're typing some
  3153.   commands at the console)
  3154.  
  3155.   To save memory (about 4 kb.) session tracing can be disabled with a
  3156.   commandline option. Invoking nos with '-n' will not setup tracing
  3157.   to session, but always trace to the command window.
  3158.   (the 'strace' command is disabled aswell)
  3159.   (eg 'nos -n -s40' will give 40 socket and tracing to the command window)
  3160.  
  3161. - the bid's in history file now have a timestamp with them to allow
  3162.   for automatic expiry. Format is "%s %ld\n", where %s is the bidstring,
  3163.   and %ld is the number of seconds since 1970 (ie. standard time long-integer)
  3164.  
  3165. - BID and MESSAGE expiry built in.
  3166.   command 'oldbids <timer> [age]' or 'oldbids now'
  3167.     <timer> is in hours and sets the interval that the bid file ('history')
  3168.     will be scanned for old ones to delete. Old file is renamed to
  3169.     'history.bak' and a new one created. This will also transform old style
  3170.     bid's (without timestamp) to new style with timestamp.
  3171.     [age] is the optional age in days, and defaults to 30 days.
  3172.     'oldbids' will show current values, 'oldbids now' will expire old bids
  3173.     immediately, with previously set age value (or default if not set)
  3174.  
  3175.   command 'expire <timer>' or 'expire now'
  3176.     <timer> again is in hours, to set the interval to check for expired
  3177.     messages. The expiration in controlled by the file '/spool/expire.dat'
  3178.     This file is a list of fields like
  3179.     area age
  3180.     where area is the area-name WITHOUT the '.txt' extension. Area CAN
  3181.     have subdirs denoted by either '.', '/' or '\' . Thus is *should*
  3182.     work with NNTP articles as well (see note 2). Age is the age in
  3183.     days of the message. If age is omitted, default is 21 days
  3184.     Area and age are separated by one space character !
  3185.     On expiry, any area.txt file is renamed to area.bak, and then all
  3186.     messages are checked for their age. Age comes from the 'Date: ' header.
  3187.     Thus with the 'bulletin date yes' command, BBS style messages can
  3188.     be properly expired.
  3189.     Some valid formats of the '/spool/expire.dat' file:
  3190.  
  3191.     #This is a comment
  3192.     #expire the allusa bulletins after 7 days
  3193.     allusa 7
  3194.     #assume the default for allor (ie 21)
  3195.     allor
  3196.     rec.radio/amateur\packet 10
  3197.  
  3198.     NOTE 1: the use of the mktime() function in the age calculations
  3199.     now forces the use of BCC instead of TCC. There is a sort-of working
  3200.     replacement of mktime() in expire.c for those that want to keep using
  3201.     tcc
  3202.  
  3203.     NOTE 2: I have tested the subdir expiration with mail files; NOT with
  3204.     NNTP originated messages. If this doesn't work, please let me know !
  3205.  
  3206. - mbox mailfor exclude. You can set a list of private mail areas to exclude
  3207.   from the mail-beacon. Same syntax as 'mb jumpstart exclude'.
  3208.   (mailfor code has been rewritten to be more efficient, less hd access)
  3209.  
  3210. - a user does NOT need TELNET_CMD permissions anymore to do the 'CALL'
  3211.   command. This is so that we can disallow telnet's and still allow
  3212.   connections to the call-server.
  3213.  
  3214. - included the latest PI driver in the sources (dated 920329)
  3215.  
  3216. - mailbox.c is now split into mailbox.c and mboxcmd.c
  3217.  
  3218. - mailbox subcommand 'mbox tdisc' sets the inactivity timeout value.
  3219.   If not zero, if mailbox user has not given any input for the timeout
  3220.   period, the mailbox connection is closed. This prevents idle users.
  3221.   Default is 0 seconds, ie off.
  3222.   (can be compiled out with MBXTDISC switch in config.h)
  3223.  
  3224. - ftp server inactivity timeout. Command 'ftptdisc'. Again, if not zero
  3225.   ftp connection will be closed after no data has flown for the timeout
  3226.   period. Defaults to 0 seconds, ie. off.
  3227.   This gets deactivated during file transfers in either direction;
  3228.   this is to avoid looong slooow transfers to cause a timeout.
  3229.   (can be compiled out with FTPTDISC switch in config.h)
  3230.  
  3231. - netrom subcommand 'netrom tdisc'. Sets a timer similar to the 'ax25 t4'
  3232.   timer. If there has been no incoming data over a level 4 circuit for the
  3233.   timeout period, the circuit is reset.
  3234.   Default is 0 seconds, ie. no timeout.
  3235.   This is usefull with idle forward sessions etc.
  3236.   (can be compiled out with NR4TDISC switch in config.h)
  3237.  
  3238. - mailbox 'SR' command works again (sending replies...)
  3239.  
  3240. - 'LL' command was broke since addition of 'LA'. Fixed again.
  3241.  
  3242. - mailbox 'RH' command, to read with all headers (same as 'V')
  3243.  
  3244. - R: header interpretation now allows both '@:bbs' and '@bbs' format
  3245.   as well as '?:bbs' and '?bbs' (for aplink etc.)
  3246.  
  3247. - mailbox 'SC' command to send one message to multiple people
  3248.   'Send Carboncopy'; it asks for a list of Cc:-addresses. A user can
  3249.   answer with one or more addresses, separated by comma's
  3250.   eg: 'Cc: johan@ece.orst.edu, ka7ehk@wg7j.ampr.org,test@nowhere.usa'
  3251.  
  3252. - mailbox 'XM n' to show or set (XM n) the number of lines for
  3253.   more-prompting. Telnet default is 23, others 0 (same as previously)
  3254.   MORE now works for ALL connection types, instead of only for telnets.
  3255.   MORE also works with all the 'L' commands (as well as R/V commands)
  3256.   (this is NOT logged(yet), so at each login, the defaults are set)
  3257.  
  3258. - smtp bactch processing fixed ala VK6RJM
  3259.  
  3260. - 'info' command now shows compile date/time.
  3261.  
  3262.  
  3263. VERSION 1.00 (920318)
  3264. ************
  3265.  
  3266. - New commands 'bulletin <check|date|return>'
  3267.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  3268.  
  3269.   'bulletin date on/off' (DEFAULT: OFF)
  3270.   if on, the original message date from the last R: line will be
  3271.   used in the message 'Date:' line. Off acts as plain ka9q code.
  3272.   This allows a more correctly indication of the age of the message
  3273.   and improves automatic expiry of messages
  3274.   (with the 'at hhmm "shell expire..." ' command !)
  3275.   (NOTE: due to the lack of the mktime() routine in the TC2.0 libraries,
  3276.    the weekday field in the ARPA-date header is set to "BBS"; as soon
  3277.    as i get around rewriting that routine (it is in BC2.0 and above)
  3278.    that will be fixed. This causes no grief :-), just shows something like
  3279.    'Date: BBS, 12 Mar 92 11:21:00 UTC'
  3280.    the presence and length of this field are imperative, since at several
  3281.    places the string is scanned for the ',' (smtp) or the lenght (forward) )
  3282.  
  3283.   'bulletin return on/off' (DEFAULT: OFF)
  3284.   if set, when a message is received via bbs-forwarding
  3285.   a 'valid bbs-style return address' will be taken from the
  3286.   last R:-line, if one is present. This works with any message
  3287.   type that starts with R:-headers (so personal mail as well).
  3288.  
  3289.   the 'true from-address' is made as 'user@last-R:line-bbs'
  3290.   ie. the from-address is set to come from the user, as send
  3291.      with the 'S bla@blah < USER' line, and the 'home' bbs will
  3292.      be extracted from the last R: line found
  3293.      This allows a correct 'from' the be shown, and allows
  3294.      the SR (Send Reply) to work normal, however....
  3295.      eg. If the message is forwarded as 'SP W7ABC < W6XYZ'
  3296.      and the last R:-header is
  3297.      R:920312/1200z @:N7PQR.AB.CD.EF [TEST] #:0 Z:1
  3298.      then the 'From:' line will read:
  3299.      'From: w6xyz@n7pqr.ab.cd.ef'
  3300.  
  3301.      NOTE !!!!
  3302.      Since in most of these occasions, the from-hosts will NOT
  3303.      be tcp/ip hostnames (eg. wg7j.ampr.org) but rather
  3304.      bbs H-addresses (eg. WG7J.OR.USA.NA)
  3305.      YOU (ie. the sysop) HAVE TO MAKE SURE your system can handle
  3306.      these new addresses by setting up the ALIAS and REWRITE files
  3307.      to handle these, and then setup bbs-forwarding (if needed)
  3308.      as well with FORWARD.BBS
  3309.  
  3310.   'bulletin check on/off'
  3311.   When turned on, the forward.bbs file is scanned to build a list
  3312.   of bbs's we forward to. If on, 'bulletin check' will give this list.
  3313.   When a bbs connects, each time a bulletin or any message send with BID
  3314.   is forwarded the R: trail (if present) will be read for comparison
  3315.   to the list. If an R: line from a BBS we forward to is found,
  3316.   an 'X-Forwarded-To' header is added to the smtp headers of the messages.
  3317.   (They are written as the very first thing, to speed up the scanning
  3318.    of the headers during forwarding...)
  3319.   This 'X-Forwarded-To' header is lateron used by the
  3320.   forward code to realize that those bbs-es already have the
  3321.   message, and we don't have to try to send it,
  3322.   only to get a 'NO' reply. Thus not as much time and network
  3323.   bandwith is wasted...
  3324.  
  3325. - mailbox 'read' only sets the 'READ' flag when the area is the
  3326.   users private mail area. This prevents users with sysop privs
  3327.   that read other private areas to mark stuff as read.
  3328.   eg. I rewrite lots of private mail into two private mailboxes,
  3329.   north.txt and south.txt, to be forwarded in those directions.
  3330.   I don't want regular users to be able to read this, so they can't be areas.
  3331.   I want to be able to read them myself (sysop privs), but doing so would
  3332.   previously set the 'READ' status and cause a message not to be forwarded!
  3333.   Thus the fix...
  3334. - When a message originates here, and goes out over bbs-forwarding,
  3335.   after our R: header, a blank line is inserted followed by the message text.
  3336.   (previously the text followed immediately)
  3337. - when forwarding a message out of a private area, when the message is a
  3338.   bulletin, the message does not get deleted (previously it would). Reason:
  3339.   i rewrite certain buls to a private area, so that regular users can't read
  3340.   them (eg. 'sb sysop@allor'). I also forward these, and thus might miss the
  3341.   message if it gets killed after forwarding... (now 'sp sysop@allor' still
  3342.   get killed after forwarding :-( )
  3343. - by changing the subject-prompt G3ZZC's LANLINK's auto-upload
  3344.   is supported (some of my users run this).
  3345. - mailbox 'MS' shows mail-status; number of received,forwarded msgs. etc.
  3346.   also shown with 'mbox mailstat' command
  3347. - userlogging does NOT work for area names 'help' This allows new users
  3348.   to list help messages over and over with a simple L command, without
  3349.   having to know the 'internals' of the L-subcommands. Suggested by
  3350.   my local users
  3351. - user is only notified of new received private mail if user is currently
  3352.   in his own mail area. Prevent users from doing RM upon new mail nofication
  3353.   and getting the new messages in a different area. Suggested by my local
  3354.   users
  3355.  
  3356. - remote-sysops 1-packet pings are allowed.
  3357.  
  3358.  
  3359. VERSION 0.99 (920310)
  3360. ************
  3361.  
  3362. - Mailbox command 'RM','VM' and 'KM' to read-mine, verbose-mine and kill-mine
  3363.   This will read at the most the first 19 unread messages, or
  3364.   kill (ie. delete) the first 19 read messages IN THE CURRENT AREA.
  3365.   (19 is inherent to the cmdparser routine)
  3366.   Also 'LA' to list all messages, and LM same as L for compatibility
  3367.   (ie. list unread messages)
  3368. - A commandfile, ~/onexit.nos, if present, will be parsed when the 'exit'
  3369.   command is given, and after this the system exits. (from iw0cnb)
  3370. - When the remote-listener receives a valid 'exit' or 'reset' command,
  3371.   the same stuff is done as when 'exit' is typed on the keyboard
  3372.   ie. processes are notified, onexit.nos parsed etc...
  3373.   then if 'reset' a system reset occurs, otherwize a regular exit()
  3374. - Mailbox user display ('M' or 'mbox') is enhanced, showing
  3375.   detailed state of all users
  3376.   (users in sysop mode will only show to others with sysop privs,
  3377.    regular users will see that user to be 'Idle')
  3378. - New mbox command 'mbox mailfor <interval>'
  3379.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  3380.   <interval> is in seconds. A 'Mail for:' beacon will be send
  3381.   every <interval> seconds to the address 'MAIL'.
  3382.   It contains a list of all private mailfiles
  3383.   (ie. none-areas) that have unread mail.
  3384.   The beacon is also send when the timer is set,
  3385.   and can be forced (ie. kicked) with 'mbox mailfor now'
  3386.   Simple 'mbox mailfor' will show the timer value and the current
  3387.   users that have mail waiting...
  3388. - 'netrom load' now works !
  3389.  
  3390. VERSION 0.98 (920303)
  3391. ************
  3392. - LZW compression in smtp now works (thanks Gerard!(pa0gri))
  3393. - Mailbox minimal tcp negotiation added (thanks Bob!)
  3394. - (hopefully) fixed the last incompatibilities with BID's when
  3395.   forwarding.
  3396. - Made the 'R:' line "bulletproof" for certain fields not set (from iw0cnb).
  3397. - fixed bug that reset number of new messages when new mail was received
  3398.   in current public area
  3399. - made 'domain translate' work correctly again (from g1emm)
  3400. - fixed jumpstart problem (actually ax.25 spec 'problem') when a second
  3401.   SABM frame is received. (from Ron Murray, vk6zjm)
  3402. - trace only outputs to command session or files; ie. doesn't garble
  3403.   other sessions anymore (from iw0cnb)
  3404. - added a 'call' command to mailbox.
  3405.   (code is optional via the CALLBOOK switch in config.h)
  3406.   This is an automatic telnet connect
  3407.   to a host and port set with the 'callserver' command.
  3408.   Format is 'callserver <host> <port>' where the callbook server
  3409.   resides on tcp-port <port> on <host>
  3410.   This is mainly useful for gateway systems on Internet.
  3411.   It allows users to use the callbook-server at buffalo.edu in an easy way.
  3412.   Note: User needs to have telnet permissions
  3413.   eg: 'callserver marvin.cs.buffalo.edu 2000'
  3414.   then the mailbox 'call' command will try to telnet to this host/port
  3415. - added the 'at' timed command execution, from IW0CNB's code
  3416.   (this can be compiled optionally with the ATCMD switch in config.h)
  3417.   The "at" command with no arguments shows the list of events that are to
  3418.   be executed.
  3419.   at yymmddhhmm <command>
  3420.     Executes <command> at specified date,expressed in Year-Month-Day-Hour-Min.
  3421.     If specified date is past, the command is not executed.
  3422.   at hhmm <command>
  3423.     Executes <command> at specified hour and minute of the current day, or of
  3424.     the next day if the specified time is past.
  3425.   at now+hhmm <command>
  3426.     Executes <command> hh hours and mm minutes from now. hh and mm can be up
  3427.     to 99.
  3428.  
  3429.   Notes and examples:
  3430.   <command> may be any valid NOS command, possibly enclosed in quotes,
  3431.   as well as a DOS shell command.
  3432.   If you want multiple commands to be executed, use the "source <filename>"
  3433.   command.
  3434.   The third mode of operation requires the exact writing "now+" in lower case
  3435.   and without spaces between hhmm.
  3436.  
  3437.   Single command execution examples:
  3438.   at 9202150900 exit   /* Shuts off on 15 Feb 92 at 9:00am */
  3439.   at 2245 "! /c pkzip oldmail \spool\mail\*.*"
  3440.   at now+0500 "smtp kick"
  3441.  
  3442.   Multiple command execution examples:
  3443.   at now+0859 "source cleanup.net"
  3444.  
  3445. (VERSION 0.97b)
  3446. - fixed little incompatibility with texnet '*** linked' stuff
  3447. - added check for console on all session-invoking commands.
  3448.   (ie. you can not do 'dir',etc. from remote sysop anymore!)
  3449.  
  3450. VERSION 0.97 (920220)
  3451. ************
  3452.  
  3453. - User status keeping.
  3454.   The mailbox now keeps track of the last listed message
  3455.   in each area for each user. Next time the area is listed, by default
  3456.   only newer messages are listed. 'L start# stop#' and 'LL #' will
  3457.   still list all messages.
  3458.   This info is kept in a file 'areaname.USR' in \spool\mail .
  3459.   eg. the area 'amsat' has it's info in \spool\mail\amsat.usr
  3460.   The content is simply a list of user names, followed by the id-number
  3461.   of the last message listed in this area.
  3462.   The content is updated when the user switches areas, or logs out.
  3463.   The .usr files are build completely automatically, there is nothing
  3464.   you need to do to get things started.
  3465.   This feature can be turned of by undefining USERLOG in config.h
  3466.   It currently DOES NOT work in areas in subdirectories under ~spool/mail .
  3467.  
  3468. - The expanded bbs-forward R: line gets only send if all of
  3469.   mbox haddress, fwdinfo, qth and zip are set. Otherwize a simplified
  3470.   R: line gets send with only time, @-bbs and message-#
  3471.  
  3472. - the mailbox '*** linked to' handling is a bit more robust.
  3473.   Every user has permission to do this now, but if sysop-password is not
  3474.   set, SYSOP_CMD priviledges are reset.
  3475.   It will not allow some one to reset the NO_SENDCMD, NO_READCMD or
  3476.   NO_3PARTY protection, if they were disallowed in the original login.
  3477.   It now also sets the new call for outgoing gateway connects.
  3478.   Handles the TEXNET 'linked to' message, but doesn't use the ssid
  3479.   from this (i see no need for this)
  3480.   If 'linked to' is done, this logged to the logfile
  3481.  
  3482. VERSION 0.96
  3483. ************
  3484.  
  3485. - requested by wb5bbw: logging of mailbox telnet/netrom/ax25 gateway connects
  3486.  
  3487. - 'mbox expert' command is gone. Instead default state can be set for each
  3488.   user in ftpusers database. Use value of 16384 to set user as expert.
  3489.   X command from mailbox will still toggle, but NOT update the default in
  3490.   ftpusers.
  3491.  
  3492. - hidden ML mailbox command to show previous users,
  3493.   also shown with 'mbox past'
  3494.  
  3495. - lzw compression in smtp (same as in gri2.0d)
  3496.   (disabled in the distribution .exe, since there are reportedly bugs!)
  3497.  
  3498. VERSION 0.95
  3499. ************
  3500.  
  3501. - jumpstart has been ruggidized. Lapb now sets a flag in the ax.25 control
  3502.   block to indicate wether jumpstart was used. If not used, the first line
  3503.   to trigger the mailbox is eaten again.
  3504.   Also, a list of calls to excluded from jumpstart can be set (or shown) with:
  3505.   mbox jumpstart exclude <one or more call>
  3506.   eg:
  3507.   'mbox jumpstart exclude wg7j-4 kb7bhf-5 pa3dis'
  3508.   Now when either one of those connects, jumpstart will not be used.
  3509.   You can show the list of excluded calls with 'mbox jumstart exclude'
  3510.   or add more with additional 'mbox jumpstart exclude call call call...'
  3511.   lines
  3512.  
  3513. - added Jerzy Taraziuk's ksubr mods  (main-process stack checking)
  3514.  
  3515. - added code in lapb.c to drop non-local ax.25 routes when a connection closes
  3516.   (ie. routes coming from gateway users using digis etc.) Inspired by K4TQL
  3517.   Changed routes added in the mailbox gateway and in doconnect() from AX_LOCAL
  3518.   to AX_AUTO, such that these routes are only temporary.
  3519.   The only permanent ax.25 route entries are now those entered with the
  3520.   'ax25 route add' command.
  3521.  
  3522. - added Mike Billow, N1BEE's minheap trick in pc.c to (hopefully) resolve
  3523.   memory problems when shelled out with the multitasking shell on
  3524.  
  3525. - additional config.h switches to undefine multitasking shell code,
  3526.   ax.25 ip autoroute, shell-command and some unneeded sessions
  3527.   (for switch setup)
  3528.  
  3529. - dropped autoroute in the distribution because it causes problems
  3530.   when using vc for ip links. It still can be added by changing config.h
  3531.   and recompiling
  3532.  
  3533.  
  3534. VERSION 0.94
  3535. ************
  3536.  
  3537. - bbs flag in ftpuser:
  3538.   IS_BBS     -    the user should be treated as a bbs
  3539.   (#define IS_BBS      8192    /*This user is a bbs*/)
  3540.  
  3541. - node list in mailbox 'N' command is sorted, per Doug Crompton's code
  3542.   Sort can be done by alias or call, set by 'netrom route sort' command
  3543.   default: by ALIAS
  3544.  
  3545. - netrom neighbours can be listed with 'NR' from mailbox
  3546.   this also shows if a route has been used in the last 60 seconds
  3547.   (an '>' shows up in front)
  3548.  
  3549. - better protection for mbox password and lock commands
  3550.   (only access via keyboard, suggested by Gerard, pa0gri)
  3551.  
  3552. - fixed a longtime bug with loosing the BID when forwarding bbs mail
  3553.   that was received with a bid from someone else
  3554.  
  3555. - little bug fixed that would show multiple paths in the ftpserver pwd command
  3556.  
  3557. - when jumpstart is off, the line that triggers the mailbox (ie. the CR)
  3558.   will be eaten again, like in plain KA9Q (instead of being taken as a
  3559.   command, as in previous versions)
  3560.  
  3561. - ala PA0GRI:
  3562.   mailbox chat is now 'operator'
  3563.   mailbox users is now 'mboxusers'
  3564.   mailbox upload is back !
  3565.  
  3566. VERSION 0.93 (920126)
  3567. ************
  3568.  
  3569. - anonymous permission ala pa0gri's 'univperm'
  3570.  
  3571. - Additional mailbox user permissions:
  3572. NO_SENDCMD -  disallow all mail, except to 'sysop' or 'SYSOP'
  3573. NO_READCMD -  disallow reading of any mail
  3574. NO_3PARTY  -  disallow 3rd-party mail to be send
  3575. These bits need to be set in order to disallow those actions,
  3576. such that ftpusers need not be modified if you don't want to mess
  3577. with them
  3578.  
  3579. Thus permissions are now:
  3580. #define AX25_CMD        8       /* AX.25 gateway operation allowed */
  3581. #define TELNET_CMD    16    /* Telnet gateway operation allowed */
  3582. #define NETROM_CMD    32    /* NET/ROM gateway operation allowed */
  3583. #define SYSOP_CMD    64    /* Remote sysop access allowed */
  3584. #define EXCLUDED_CMD    128    /* This user is banned from the BBS */
  3585. /* 256 and 512 are used in PPP*/
  3586. #define NO_SENDCMD  1024    /*Disallow send command*/
  3587. #define NO_READCMD  2048    /*Disallow read command*/
  3588. #define NO_3PARTY   4096    /*Disallow third-party mail*/
  3589.  
  3590. - additional 'cls' command to clear the command-session screen
  3591.  
  3592. - mailbox command to set offset between computer's time and UTC.
  3593.   this is used with forwarding ax.25 bbs mail such that the R: line
  3594.   indicates correct UTC time with the 'z'.
  3595.   ie. if you don't have your computer running with UTC time,
  3596.   set this parameter.
  3597.  
  3598.   eg: on the west coast, local time is UTC - 8 hours.
  3599.       if your computer runs with local time, issue the following
  3600.       command:
  3601.       'mbox utc -8'
  3602.       The default value is 0, ie computer time = UTC .
  3603.  
  3604.       Both positive and negative offsets (for those outside the US :-))
  3605.       are supported. The code will automatically account for jumps into
  3606.       the next or previous day, or year and checks for leap-years on
  3607.       february 28/29
  3608.  
  3609. - Netrom Level 4 problem (not sending data queueud up)
  3610.   is fixed (ala Dave Perry, VE3IFB)
  3611.  
  3612. - Remote Sysop password protection
  3613.     Set the password with 'mbox password your_password'
  3614.     Maximum password lenght is 30 chars.
  3615.     NOTE: Users still need sysop premission in the ftpusers file !
  3616.     (this is easy to change in the soures)
  3617.     If the password is not set, users with sysop priviledges don't get to
  3618.     pass the query, but jump into sysop-mode right away. (the old way!)
  3619.     If it is set, 5 numbers are prompted. The user then needs to answer
  3620.     with the correct 5 characters from the password. The first char is number
  3621.     zero !
  3622.     You can give as many lines answering the query, to mislead people
  3623.     listening in :-). End with a blank line, and if one of the answers you
  3624.     gave was correct, sysop permission is granted!
  3625.  
  3626.     eg: 'mbox password *12345abCDE'
  3627.     you give the '@' command:
  3628.     system prompts: '3 7 2 9 0'
  3629.     you answer:     agk4e
  3630.                     thier
  3631.                     3b2D*           <--- the right answer !
  3632.                     9qPr&
  3633.                     <blank line>    <--- just hit <CR>
  3634.  
  3635.     Sysop permission is now granted !
  3636.  
  3637. -Forced NS16550 attaching
  3638.     optional 'f' parameter in 'attach asy' forces the presence of the 16550.
  3639.     eg: attach asy 0x3f8 4 slip sl0 2012 1006 2400 vf
  3640.     sets VJHeader compression ( the 'v') and forces the 16550 ('f')
  3641.  
  3642. VERSION 0.92 (920114)
  3643. ************
  3644.  
  3645. -Some additional configuration switches in config.h
  3646. These save lots of memory (MBFWD and ALLCMD undef'd save about 50k!)
  3647. MBFWD  - if not defined, excludes mailbox forwarding code
  3648.          and related commands
  3649. ALLCMD - if not defined, excludes a bunch of rarely used commands
  3650.          (I this did for the internet-slip server we run here)
  3651.     Excluded are:
  3652.     delete,rename,more,tail,dump,status,motd,cd,dir,finger,fkey,info,mail,mkdir
  3653.     pwd,record,rmdir,watch,test,upload,bbs
  3654. ALLSERV - if not defined, only the basic servers are included
  3655.     Excluded are:
  3656.     discard,echo,tip,ttylink servers,
  3657.     the ttylink command and the split screen code
  3658. Along with these are some fixes regarding NRS and TRACE. Main.c and scc.c
  3659. had a few things not properly ifdef'd such that modules needlesly were pulled
  3660. in at link-time.
  3661.  
  3662. -Kicking or stats of sockets made easier :
  3663. 1-'tcp|ax25|netrom kick' or 'tcp|ax25|netrom stat' commands
  3664.     can be given just the first 4 numbers.
  3665.     The '0008' is automatically appended when a lenght of 4 is detected.
  3666.     eg: 'tcp kick 76ea' is the same as 'tcp kick 76ea0008'
  3667.     (this is ala N1BEE)
  3668.  
  3669. 2- New command 'skick <socket#>' to automatically kick whatever type the
  3670.     socket is. This kicks valid sockets of type TCP, AX25 and NETROM.
  3671.     Use 'socket' command to get a list of used sockets.
  3672.  
  3673. -AX.25 forwarding is changed.
  3674. 1) the R: line is ALWAYS sent.
  3675.  
  3676. 2) some additional R: line fields can be set with
  3677.     -mbox zip <your zip>           : sets zip code to be used
  3678.         eg. 'mbox zip 97330'             will show 'Z:97330' in R: line
  3679.     -mbox haddress <your Haddress> : sets Hierarchical address
  3680.         eg. 'mbox haddress #CRV.OR.USA' (note NO leading period!)
  3681.                 will show '@WG7J.#CRV.OR.USA' in R: line (assuming Mycall
  3682.                 is set to WG7J)
  3683.     -mbox fwdinfo <your info>      : sets [info]
  3684.         eg. 'mbox fwdinfo "BCARES BBS"'  will show '[BCARES BBS]' in R: line
  3685.         eg. 'mbox fwdinfo Testing        will show '[Testing]' in R: line
  3686.     -mbox qth <"qth, St">          : sets your qth (and state)
  3687.         eg. 'mbox qth "Corvallis, OR"'   will show 'Corvallis, OR' in R: line
  3688.         eg. 'mbox qth Corvallis          will show 'Corvallis' in R: line
  3689.  
  3690. 3) A message number is sent.
  3691.    The message number sent in the '#:' segment comes from the 'id AA####'
  3692.    part of the smtp header.
  3693.  
  3694.     The R: line looks as follows:
  3695. R:date/time @:MYCALL.HADDRESS [your info] your-qth-st #:IDNUM Z:your-zip
  3696.  
  3697. 4) Optionally sending of the smtp headers.
  3698.     Sometimes a message will come in over SMTP and go out via AX.25 forwarding.
  3699. Normally the SMTP headers of the message are NOT sent. Thus there is no trace-
  3700. back trail beyond your system, since the only trace is your R: line.
  3701. If you want to include most of the SMTP headers from all previous
  3702. delivery hops, then use the command :
  3703.  
  3704. 'mbox smtptoo on|yes|1'     (default: OFF)
  3705.  
  3706. (This does not send some duplicate line line Subject: etc. that already have
  3707. been sent)
  3708.  
  3709. VERSION 0.91 (920103)
  3710. ************
  3711. These mods originated in my work on the V25/V40 port of NOS. Version number
  3712. is taken from that code-version.
  3713.  
  3714. Several NET/ROM changes:
  3715.  
  3716. One netrom call, different from any other interface call can be set with
  3717. 'netrom mycall <nrcall>'   (or 'ifconfig netrom linkaddress yourcall')
  3718. This is the call used in netrom route broadcasts !
  3719.  
  3720. Netrom alias setting:
  3721. Either the 'old' way can be used:
  3722. netrom interface <label> <alias> <pathqualilty>
  3723. or the alias can be set with 'netrom alias <myalias>'.
  3724.  
  3725. If 'netrom alias' has not been set when the old 'netrom interface' command
  3726. is given, the alias will be taken from this.
  3727. If 'netrom alias' has been set, the 'netrom interface' alias is ignored.
  3728. If the alias is set with the 'netrom interface' command, later
  3729. 'netrom alias' commands will override the alias !
  3730.  
  3731. Thus there is only ONE alias for the system
  3732. This alias is used for ALL active netrom interfaces, wether you set
  3733. different aliases in the 'netrom interface' commands or not !
  3734.  
  3735. This alias is also used in netrom route broadcasts.
  3736. (
  3737. The 'netrom interface' commands doesn't need the alias in it anymore
  3738. You can use a simlified version of the netrom interface command:
  3739. 'netrom interface <ifname> <quality>'
  3740. )
  3741.  
  3742. Connects (and digi's) to this netrom call and to the alias (with ANY ssid)
  3743. are accepted.
  3744.  
  3745. If not running netrom, you can still set the netrom alias, and thus
  3746. allow connections to the alias...
  3747. (digipeating also works then, with any ssid)
  3748.  
  3749. SOME EXAMPLES:
  3750. ******
  3751. eg. 1
  3752. if you have the following configured :
  3753.  
  3754. netrom mycall WG7J-11
  3755. netrom alias WGJBOX
  3756. netrom interface ax0 192     #assuming ax0 and ax1 are valid interfaces
  3757. netrom interface ax1 191
  3758.  
  3759. then netrom broadcasts on both ax0 and ax1 will announce you as WGJBOX:WG7J-11
  3760. users can connect (or digi's via (if enabled)) WG7J-11, WGJBOX-x, where x=0-15
  3761. Connects to the regular ax25 mycall, or other valid interface calls
  3762. set with ifconfig are accepted as well.
  3763. ******
  3764. eg. 2
  3765. if you don't run netrom but still want an alias for your system
  3766. (and netrom-support is compiled in your executable :-))
  3767. then simply set the alias:
  3768.  
  3769. netrom alias WGJBOX
  3770.  
  3771. This allows connections and digi's (if enabled) to WGJBOX-x, where x=0-15
  3772. Connects to the regular ax25 mycall, or other valid interface calls
  3773. set with ifconfig are accepted as well.
  3774. ******
  3775.  
  3776. -LOTS of MAILBOX changes:
  3777.  
  3778. - mailbox outgoing connects use the user call !
  3779.   If a user logs in over telnet, the login name will be used as call,
  3780.   if:
  3781.   A -  there is at least 1 digit (0-9) in the name
  3782.   B -  the name can successfully be set to a call
  3783.     (ie, 'anonymous' won't work !)
  3784.   If the above 2 rules don't work, ax.25 and netrom permission are
  3785.   denied, no matter what they we're set to in ftpusers
  3786.   Be careful, this still allow someone with '4us' as login and
  3787.   permissions set, to go out on ax.25 or netrom with call '4us-15' !!
  3788.  
  3789.  
  3790. JUMPSTART:
  3791. The mailbox is jump-started when:
  3792. the remote address connecting to us is not a known netrom neighbour and
  3793. the interface mode is not VC. If both these are true, it is assume to be
  3794. a user connecting to the mailbox, and the mailbox is jump-started
  3795. upon the SABM frame is received and answered. Thus NO ADDITIONAL cr or whatever
  3796. is needed to trigger the mailbox...
  3797.  
  3798. In Yeoman's terms: regular users get the prompt IMMEDIATELY upon connecting!!
  3799.  
  3800. The above is on by default, but can be changed (ie. turned off) with
  3801. 'mbox jumpstart on/off' (default: ON)
  3802.  
  3803. MAILBOX PROMPT:
  3804. 'mbox expert on/off'  (default: OFF)
  3805. Start user in Expert mode; ie short prompt. This can be toggled from
  3806. the mailbox with the (X)pert command.
  3807.  
  3808. 'mbox nrid on/off'    (default: OFF)
  3809. If on, the prompt is 'ALIAS:CALL} ' followed by the whole list of
  3810. commands when not in expert mode.
  3811. If off, the prompt is as normal in none-expert mode, and '> ' in
  3812. expert mode. BBS prompt is unchanged.
  3813.  
  3814. Thus,
  3815. With nrid OFF and expert OFF, the system looks like 'normal':
  3816. Msg #0: A,B,.....,Z,?>
  3817.  
  3818. With nrid OFF and expert ON, you get a short prompt :
  3819. >
  3820.  
  3821. With nrid ON and expert ON, it looks like a 'standard netrom' switch:
  3822. WGJBOX:WG7J-11}
  3823.  
  3824. With nrid ON and expert OFF, it looks like :
  3825. WGJBOX:WG7J-11} Msg #0: A,B,.....,Z,?>
  3826.  
  3827. USER COMMAND-CHANGES
  3828. No separate pseudo-netrom interface (the old N command) exists anymore.
  3829. (N)odes has taken its place, giving the regular list of nodes
  3830.  
  3831. New mailbox user commands are:
  3832. (X)pert: toggle expert status
  3833. (P)orts: gives port/interface description
  3834. (N) nodename : gives more descriptive information
  3835. (U)sers: shows all users and outbound link with type (ie. telnet,netrom,ax25)
  3836.     (the Upload command has been sarificed for this, since no-one around here
  3837.      uses that)
  3838. (C)onnect:
  3839. 'c' is the old chat with sysop.
  3840. 'c name' is a netrom connect, accepting BOTH ALIAS and CALL. Gives error
  3841.          and help if name isn't either one.
  3842. 'c port call' is an ax25 connect. Uses the USER's call with inverted SSID !
  3843.         gives help on error.
  3844.  
  3845.  
  3846. -KEYBOARD LOCKING
  3847. 'lock password <your unlock password>' sets the password
  3848. typing this DOES NOT clear the screen, so set it in the autoexec file
  3849. or type lots of CR's to clear the screen after this
  3850. then typing 'lock' will disable any command from being executed
  3851. until the password is type. During this input echoing is disabled,
  3852. so that your password will not be echoed to the console.
  3853. This only works form the keyboard, so that remote sysops cannot lock you
  3854. out !
  3855.  
  3856. -MINOR COSMETIC CHANGES:
  3857.  
  3858. -'ifconfig <iface> description "your description"'
  3859. This shows up in the new (P)orts command in the mailbox,
  3860. as well as the ifconfig list
  3861.  
  3862. - G4JEC's ax.25 ip autoroute code is added.
  3863.   This code automatically adds a temporary ip route to the target
  3864.   (if none exists) when ip packets are received.
  3865.   Configurable with:
  3866.   'autoroute on/off'. (default: OFF)
  3867.  
  3868.   As suggested by Mike Billow, this only works when RSPF is not active.
  3869.   Attaching the first rspf interface automatically turns it off, and
  3870.   autoroute can not be turned on anymore after that.
  3871.  
  3872. -mailbox sysop (@) is protected against 'exit'. This now simply returns
  3873.  you to the mailbox, instead of exiting net.exe!
  3874.  
  3875. -kiss attach checks for asy interface type (such that you cannot attach
  3876.  kiss ontop of the netrom interface etc.)
  3877.  
  3878. -mbuf.c interrupt allocation fixed per hb9rwm
  3879.  
  3880.  
  3881.